﻿
<HTML>
<HEAD>
<TITLE>SharePoint Software Factory 2010</TITLE>
<style>
@media print
{
	h6
	{
		page-break-after:always
	}
}

body, td
{
	font-size: 9pt;
	font-family:Segoe UI, Verdana, Arial;
}

ul
{
	list-style-type: square;
	margin: 5px 0px 0px 20px;
}
li
{
	padding-top: 3px;
	padding-bottom: 3px;
}
a
{
	color: black;
}


h1
{
	font-size: 20pt;
	margin: 16px 0px 16px 0px;
	color:#250c58;
}

h2
{
	font-size: 14pt;
	margin: 10px 5px 10px 0px;
	color:#250c58;
}

h3
{
	font-size: 12pt;
	margin: 15px 10px 10px 0px;
	color:#250c58;
}

h4
{
	font-size: 11pt;
	margin: 20px 10px 10px 0px;
}

img
{
	border: 1px solid black;
}

td
{
	font-size: 9pt;
	font-family:Segoe UI, Verdana, Arial;
}

#argumentTable
{
	border-collapse: collapse;
	border: 1px solid #BBBBBB;
	width: 100%;
}

#argumentTable th
{
	text-align: left;
	background-color: #e5e5e5;
	padding: 6px;
	border-right: 1px solid #BBBBBB;
	font-size: 10pt;
}

#argumentTable tr
{
	border-bottom: 1px solid #BBBBBB;
}

#argumentTable td
{
	text-align: left;
	padding: 6px;
	border-right: 1px solid #BBBBBB;
	border-bottom: 1px solid #BBBBBB;
	vertical-align: top;
	background-color: white;
	font-size: 9pt;
}

#argumentTable td.name
{
    font-weight: bold;
}


.OH_regiontitle
{
	font-weight: bold;
	font-size: 10pt;
}

</style>
</HEAD>
<BODY>
<br />
<br />
<br />
<br />
<div align="center">
	<H1>SharePoint Software Factory 2010</H1>
	<h3>Documentation</h3>
	<br />
	<br />
	<br />
	Version: 3.2<br />
	Authors: Torsten Mandelkow, Matthias Einig
</div>
<br />
<br />
<br />
<br />
<h6>&nbsp;</h6>
<h1>1. Overview</h1>		<h2>1.1. About</h2>
		
        The SPSF SharePoint Software Factory is an "extension" for Visual Studio 2005, 2008 and 2010 to allow easier development of SharePoint applications. It is based on the Microsoft Guidance Automation Toolkit. <br />
        <br />
        Everybody is invited:<br />
        <ul>
            <li>to develop his own SharePoint software factory based on this project (please download the source code)</li>
            <li>to support this project with new templates, recipes, code samples and snippets to increase the capabilties of this project</li>
            <li>to help us improve the software factory by reporting bugs, feature ideas etc.</li>
        </ul>
        <br />
        Target plattforms are
        <ul>
            <li>Windows SharePoint Services (WSS) 3.0</li>
            <li>Microsoft Office SharePoint Server (MOSS) 2007</li>
            <li>Windows SharePoint Services (WSS) 4.0 </li>
            <li>Microsoft SharePoint Server (MSS) 2010</li>
        </ul>

        <br />
        We will further support SPSF with new recipes and templates over time.
        You can find slides about the software factory at our project blog at <a href="http://www.spalmblogger.de">http://www.spalmblogger.de</a>.

    
				<h2>1.2. Authors</h2>
		
	    <h3>SPSF Core Parts</h3>
		The core part and concepts of SPSF SharePoint Software Factory 2010 has been created by <b>Torsten Mandelkow</b> and <b>Matthias Einig</b>. <br />
		Their intention was to provide their tools and concepts to the SharePoint community to make it easier to develop custom applications in SharePoint. 
		 <h3>Templates, Snippets, </h3>       
         The following people helped with code templates, snippets and sample projects (sorted by their activity):
		 <ul><li>Torsten Mandelkow</li>
			<li>Matthias Einig</li>
					 </ul>
		 <!--
		 <h3>Contributors</h3>   
		 The following people helped to make SPSF a stable tool:    
		 <ul>			
			<li>Matthias Einig</li>
			<li>Torsten Mandelkow</li>
			<li>Oliver Pistor</li>
			<li>Daniel Ranke</li>
		</ul>
		-->
    
				<h2>1.3. System Requirements</h2>
		
        The SPSF SharePoint Software Factory requires the following components:
	    <ul>
		    <li>Supported Operating Systems: Windows Server 2003 Service Pack 2; Windows Vista; Windows Vista Service Pack 1; Windows XP Service Pack 2</li>
		    <li>Visual Studio 2008 (Team System, Professional Edition or Standard Edition)</li>
		    <li>Guidance Automation Extensions - February 2008 Release (<a target="_new" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=DF79C099-4753-4A59-91E3-5020D9714E4E&amp;displaylang=en">Download</a>)</li>
	    </ul>
    
				<h2>1.4. How to use SPSF</h2>
		
        <h3>How to use SharePoint Software Factory</h3>
        To unleash the power of the sharepoint software factory, the sharepoint application project has to fulfill some requirements like solution/project structure and existing configuration files. As mentioned creating such a project with SPSF does NOT leave you stuck with it forever. At any time you wish to continue development without SPSF, you can uninstall it and your projects will still be compilable and deployable.

        After successful installation of SPSF SharePoint SoftwareFactory you can start to create SharePoint code in Visual Studio.
		<h4>1. Create a new project in Visual Studio</h4>
		Start Visual Studio 2008 and click "File -&gt; New -&gt; Project" to create a new Visual Studio project.
		<br /><br /><img src="./_img/NewProject.jpg" /><br /><br />
		In the project template dialog under section "Guidance Packages -&gt; SPSF SharePoint SoftwareFactory" choose an appropriate project template e.g. "Simple SharePoint 2007 Application".
		<br /><br /><img src="./_img/ProjectDialog.jpg" /><br /><br />
		Click "OK" and fill the SharePoint Project Wizard. 
		<h4>2. Run SharePoint recipes to create SharePoint code</h4>
		Most SharePoint recipes like "Create new Content Type" are displayed in context menus dependend on the current selection. 
		For instance the recipe "Create new Content Type" is only displayed on projects which will create a .wsp solution.
		<br /><br /><img src="./_img/RunRecipes_Small.jpg" /><br /><br />
		Alternatively you can use the "New Item" dialog to run the SharePoint recipes. 
		<br /><br /><img src="./_img/NewItem.jpg" /><br /><br />
    
				<h2>1.5. How to upgrade projects</h2>
		
        <h3>How to upgrade projects to current version of SPSF</h3>
        
        After installing a new version of SPSF it is recommended to update the Visual Studio projects which have been created with an earlier version of SPSF. 
        <br /><br />
        The reason is that sometimes a new SPSF version resolves bugs in <a href="SPSF_OVERVIEW_700_SystemFiles.html">SPSF system files</a> which are located in such a Visual Studio project. 
        Typically these are the following files:
        <br /><br />
        <b>Files responsible for a correct build and packaging of the project</b>
        <ul>
            <li>[SolutionDirectory]\SharePointTargets.targets</li>
            <li>[SolutionDirectory]\GenerateManifest.tt</li>
        </ul>

        <b>Files used during the deployment of WSP solutions</b>
        <ul>
            <li>[SolutionDirectory]\ApplicationDeployment\Deployment.msbuild</li>
            <li>[SolutionDirectory]\ApplicationDeployment\MSBuild\SPALM.MSBuildTasks.dll</li>
            <li>[SolutionDirectory]\ApplicationDeployment\DeploymentFiles\StartDeploy.bat</li>
            <li>[SolutionDirectory]\ApplicationDeployment\DeploymentFiles\StartRedeploy.bat</li>
            <li>[SolutionDirectory]\ApplicationDeployment\DeploymentFiles\StartUndeploy.bat</li>
            <li>[SolutionDirectory]\ApplicationDeployment\DeploymentFiles\StartUpgrade.bat</li>
        </ul>

        <b>Settings files for code analysis tools</b>
        <ul>
            <li>[SolutionDirectory]\Settings.ShareCop</li>
            <li>[SolutionDirectory]\Settings.ShareCop</li>
            <li>[SolutionDirectory]\Settings.StyleCop</li>
            <li>[SolutionDirectory]\Settings.FxCop</li>
            <li>[SolutionDirectory]\FxCop.targets</li>
        </ul>       
        <br />
        To upgrade the VS solution run the following steps:
        
        <h4>1. Make a backup copy of your VS solution.</h4>
        This is recommended to avoid breaking changes in your solution. If you are using source control you could skip this step.
        
        <h4>2. Start the migration</h4>
        Execute the recipe "SPSF Helpers -&gt; Migrate solution to current SPSF version".
        <br /><br />
        <img src="./_img/UpgradeSolution.jpg" />
        <br /><br />
		Follow the instructions of the wizard.
        <br /><br />
        <img src="./_img/UpgradeSolutionWizard.jpg" />
        <br /><br />        
        <h4>3. Check results</h4>
        After completion all made changes and replaced files are listed in the output window.
        <br /><br />
        <img src="./_img/UpgradeSolutionOutput.jpg" />
        <br /><br />
        Compilation of your projects should produce the same results.        
    
				<h2>1.6. Project Types</h2>
		
        During creation of a new Visual Studio project the SPSF provides the choice between 2 different project types.
        <br />
        The following screenshot shows the wizard page.
        <br /> <br /><img src="./_img/ProjectWizard.jpg" /><br /><br />
        The decision which type of project type should be used is very important and cannot be changed after initial creation of a new project!
        <h3>Differences between the project types</h3>
        <table>
            <thead>
                <tr>
                    <th></th>
                    <th>VSeWSS 2010 Format</th>
                    <th>SharePoint Hive Format</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td valign="top">Description</td>
                    <td valign="top">The VSeWSS 2010 project format is based on the new Visual Studio 2010 format. Some files have been added by SPSF to make the format more useful.</td>
                    <td valign="top">The Hive Format is based on the often used WSPBuilder format. SPSF used this format also in the previous version.</td>
                </tr>
                <tr>
                    <td valign="top">Difference in project structure</td>
                    <td valign="top">SharePoint artefacts are organized in separate "containers" and "mapped" folders. These containers and mapped folders can be added to a WSP package with the Package Explorer of VS.</td>
                    <td valign="top">SharePoint artefacts (like feature.xml, element.xml etc.) are located in a folder "SharePointRoot" (formerly used as "12" or "14" in older projects). </td>
                </tr>
                <tr>
                    <td valign="top">Difference in WSP creation</td>
                    <td valign="top">The WSP file is created by Visual Studio internally.</td>
                    <td valign="top">The WSP file is created by SPSF based on a manifest.xml and a makecab.ddf. These files can be generated by SPSF with T4 templates.</td>
                </tr>
                <tr>
                    <td>Advantages</td>
                    <td valign="top">
                        <ul>
                            <li>The full new SharePoint functionality of VS 2010 can be used (like Package Explorer, import of Workflow WSPs etc.)</li>
                            <li>Older VSeWSS projects from VS 2008 (e.g. VSeWSS 1.2) can be migrated to the new VSeWSS 2010 format. </li>
                            <li>New functionality by Microsoft can be used (e.g. new item templates etc.)</li>
                        </ul>
                    </td>
                    <td valign="top">
                        <ul>
                            <li>Projects based on this format can be opened in VS 2010 and VS 2008.</li>
                            <li>Older WSPBuilder or SPSF projects can be easily migrated to this format.</li>
                            <li>The project structure may be more readable for experienced developers because files and folders are organized like the SharePoint hive.</li>
                        </ul>
                   </td>
                </tr>
                <tr>
                    <td valign="top">Disadvantages</td>
                    <td>
                        <ul>
                            <li>Projects can only be opened in VS 2010.</li>
                            <li>Opening the project on a server without a local SharePoint 2010 installation can lead to errors and warnings (no remote development possible)</li>
                        </ul>
                    </td>
                    <td valign="top">
                        <ul>
                            <li>Some new SharePoint 2010 features like the Package Explorer cannot be used.</li>
                            <li>All new SharePoint templates in VS 2010 cannot be used. This include BCS, Workflows, import of reusable workflows.</li>
                            <li>The very often used Hive format has been "invented" by the development community and is not supported by Microsoft guidance.</li>
                        </ul>
                    </td>
                </tr>
            </tbody>
        </table>
        <h3>Why 2 different formats?</h3>
        During the creation of SPSF 2010 we had a lot disucssion, which format should be used by SPSF: the new VS 2010 SharePoint format or the well-known "WSP-Builder" format. Both formats have advantages and disadvantages (see above). <br />
        So we were not able to decide which way to go and finally came to the conclusion: "Let the developer community decide which format is best". So tell us!
        <h3>Notes</h3>
        Normally the VSeWSS 2010 format can only be used with SharePoint 2010. But in our tests we were able to use the format to develop for SharePoint 2007. However, this is not supported by Microsoft.
    
				<h2>1.7. System Files</h2>
		
        SPSF contains several system files which play an important role during development and deployment

        <h2>Files used during development</h2>

          <h3>SharePointConfiguration.xml</h3>
          The file 'SharePointConfiguration.xml' is located in folder "Solution Items".
          <br />
          The file contains several standard SharePoint element like ContentTypes, Features, ListTemplates etc.
          <br />
          These elements are used during execution of a SPSF recipe within the dialogs to fill selection boxes and lists with these SharePoint artefacts. 
          <br />
          This file should not be changed and will be replaced automatically during an upgrade of SPSF.

        <h2>Files used during build</h2>

          <h3>SharePointTargets.targets</h3>
          The file 'SharePointTargets.targets' is located in folder "Solution Items". 
          <br />
          There are 2 version of this file used, on version for projects based on the VS 2010 SharePoint template and one for project based on the so called HIVE template (organisation of files with 'SharePointRoot/..'. 
          The right version is used during creation of a new SharePoint project in VS 2010.
          <br />
          The file is referenced by all projects in the VS solution to run task during the build of a project. This tasks could be 
          <ul>
            <li>Generation of manifest.xml</li>            
            <li>Execution of code analysis tools</li>
            <li>Generation of WSP file</li>
            <li>Copy of generated WSP solution to project "ApplicationDeployment"</li>
          </ul>
          This file should not be changed and will be replaced automatically during an upgrade of SPSF.

        <h2>Files used during deployment</h2>
          SPSF solutions in Visual Studio always contain a project with name "ApplicationDeployment". This project is used for the deployment of the WSP packages. 
          <br />
          <h4>How it works:</h4>
          <ul>
            <li>After building a SPSF solution in Visual Studio a folder in directory "ApplicationDeployment/Output" is created (typically "Debug" or "Release"). This folder contains the final deployable package and is the output folder for the whole Visual Studio solutions.</li>
            <li>During the build of a SPSF project which creates a WSP as output this final WSP file is copied to the subfolder "Solutions" in this output folder.</li>
            <li>WSP solutions which are marked as Sandboxed Solutions are copied to the subfolder "SandboxedSolutions"</li>
            <li>The project "ApplicationDeployment" contains a folder "DeploymentFiles". This folder contains several batch files by default (e.g. StartDeploy.bat) to start the deployment process later. During a build of project "ApplicationDeployment" all contents of this folder are also copied to this final output folder.</li>
            <li>In folder MSBuild a custom msbuild task library is stored. This library is used during deployment to add solutions to the farm etc.</li>
          </ul>
          <h4>Configuration of the deployment process:</h4>
          The deployment process is defined in msbuild files. They describe the tasks and parameters which are used during the deployment of WSP files to SharePoint and which tasks must be executed before or after the deployment. The following files are used:
          
          <h3>Deployment.msbuild</h3>
         This msbuild file is the main entry of the deployment process and will be started if a batch file (e.g. StartDeploy.bat) is started. The file imports all other msbuild files (see following list).
         <br />
         The file contains the main targets "Deploy", "Undeploy", "Upgrade" and "Redeploy" and runs the WSP solution deployment steps
        <br /> 
         This file should not be changed and will be replaced automatically during an upgrade of SPSF.

          <h3>DeploymentTargets.msbuild</h3>
          This file contains entry points which can be used to execute tasks and code before and after a deployment. There are several targets defined, e.g. "BeforeDeploy", "AfterDeploy", "BeforeUpgrade" etc.
          <br /> 
          This targets are called from file "Deployment.msbuild" (see previous explanantion) and should not be deleted. They can contain for instance calls to powershell, stsadm, other batch files e.g. to activate features, create sites etc.
          <br /> 
          This file should CAN be changed and will NOT be replaced automatically during an upgrade of SPSF because it contains application specific information.
          
          <h3>ParametersDefault.msbuild</h3>
          This file contains the configuration values for the deployment process. Typically a custom SharePoint application is deployed on several SharePoint farms (e.g. in a staging environment). Each of these staging farms use different configuration values (e.g. URLs of web applications, URLs of sites, Account names).
          <br /> 
          To allow the deployment of the custom SharePoint application on all these farms the file 'ParametersDefault.msbuild' contains the configuration values for each environment. Samples are provided.
          <br /> 
          The following parameters are mainly used and influence the deployment process:
          <ul>
            <li>ForceSolutionDeployment: If this value is set to 'true' the WSP deployment will use the option "Force" for deployment (see stsadm -deploysolution for description)</li>
            <li>DeployToAllContentUrls: If this values is set to 'true' and the project contains a WSP solution which must be deployed globally then the WSP solution is deployed to all content urls.</li>
            <li>DeploymentSleep: This values defines how long in milliseconds the process should wait during the deployment steps</li>
            <li>DisplayWizards: If this values is set to 'true' and config parameters are missing during deployment then a dialog is displayed to request the value from the user. In automated stagings this value should always be false.</li>
            <li>DeployToWebApplications: This value defines to which web applications the WSP solutions should be deployed, e.g. "http://demo2010a;http://demo2010a:8081"</li>
            <li>DeploySandboxedSolutionsToSites: This values defines to which site collection the WSP sandboxed solutions should be deployed, e.g. "http://demo2010a/sites/site1;http://demo2010a/sites/site2"</li>
            <li>MinimalSharePointVersion: This values defines the minimal SharePoint version. The value is checked before the deployment to avoid the installation of the package on earlier versions of SharePoint (e.g. installation of SP 2010 applications on SP 2007).</li>
          </ul>
          This file should CAN be changed and will NOT be replaced automatically during an upgrade of SPSF because it contains application specific information.


          <h3>ParametersUserInput.msbuild</h3>
          As described the file 'ParametersDefault.msbuild' can contain the parameters for all known SharePoint environments. But if the environment for the deployment is unknown then the parameters cannot be provided in the deployment package. 
          <br /> 
          To allow the deployment of the custom SharePoint application on an unknown farm you can use the file 'ParametersUserInput.msbuild' to show dialogs to the user during installation. These dialogs request for instance the web applications for the WSP deployment, site collections for feature activation or requests username and password for impersonation.
          <br /> 
          This file should CAN be changed and will NOT be replaced automatically during an upgrade of SPSF because it contains application specific information.

    
				<h2>1.8. License</h2>
		
        <h2>GNU General Public License version 2 (GPLv2)</h2>
        <br /><br />
        Copyright (C) 1989, 1991 Free Software Foundation, Inc.
        59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
        <br /><br />
        Everyone is permitted to copy and distribute verbatim copies
        of this license document, but changing it is not allowed.
        <br /><br />
        Preamble
        <br /><br />
        The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
        <br /><br />
        When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
        <br /><br />
        To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
        <br /><br />
        For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
        <br /><br />
        We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
        <br /><br />
        Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
        <br /><br />
        Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
        <br /><br />
        The precise terms and conditions for copying, distribution and modification follow.
        <br /><br />
        TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
        <br /><br />
        0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
        <br /><br />
        Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
        <br /><br />
        1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
        <br /><br />
        You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
        <br /><br />
        2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
        <br /><br />
        a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
        <br /><br />
        b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
        <br /><br />
        c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
        <br /><br />
        These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
        <br /><br />
        Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
        <br /><br />
        In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
        <br /><br />
        3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
        <br /><br />
        a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
        <br /><br />
        b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
        <br /><br />
        c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
        <br /><br />
        The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
        <br /><br />
        If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
        <br /><br />
        4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
        <br /><br />
        5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
        <br /><br />
        6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
        <br /><br />
        7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
        <br /><br />
        If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
        <br /><br />
        It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
        <br /><br />
        This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
        <br /><br />
        8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
        <br /><br />
        9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
        <br /><br />
        Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
        <br /><br />
        10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
        <br /><br />
        NO WARRANTY
        <br /><br />
        11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
        <br /><br />
        12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

    
				<h2>1.9. Release Notes</h2>
		
    <h3>Changes in 3.1.</h3>

    <h4>New Recipes</h4>
    <ul>
        <li>Migration of projects created with previous SPSF versions</li>
        <li>New recipes for Silverlight</li>
        <li>New recipes for PowerShell</li>
        <li>New recipes for ribbons</li>
        <li>New recipes for Upgrade Actions for Features</li>
        <li>New recipes for application resources and classresources</li>
        <li>New recipes for workflows</li>
        <li>New recipes for Site Definitions</li>
        <li>Reworked multilanguage with resources</li>
    </ul>

    <h4>Improvements</h4>

    Project Structure
    <ul>
        <li>Fully supports VS 2010 solution format</li>
        <li>Removed Texttemplating in VS2010 format (not needed anymore)</li>
        <li>Added fix in SharePointTargets.targets for sandboxed solutions</li>
        <li>Supports Team Build on TFS for 2008 and 2010 solutions (2010 need /p:isPackaging=true parameter)</li>
        <li>Support Quality Checks FxCop, StyleCop 4.4, SPDisposeChecker, ShareCop</li>
    </ul>

    Deployment 
    <ul>
        <li>Added support for deployment of sandboxed solutions</li>
        <li>Reworked msbuild deployment scripts, now completely based on custom msbuild tasks</li>
    </ul>

    <h4>Bug Fixes</h4>
    <ul>
        <li>Fixed bugs for Site Columns, Application Pages&gt;</li>
        <li>Content Type Custom Forms </li>
        <li>List Defnition, List Instances</li>
    </ul>

    <h3>Hot Fixes in 3.1.</h3>

    <h4>File Version 3.1.1.1110</h4>
    <ul>
        <li>Fixed recipe "Migrate solution to current SPSF version", file SharePointTargets.targets not updated</li>
    </ul>

    <h4>File Version 3.1.1.1112</h4>
    <ul>
        <li>Fixed recipe "ListInstance", Attribute "FeatureId" not set correctly</li>
    </ul>

    <h4>File Version 3.1.2.1109</h4>
    <ul>
        <li>Improved installer (support for deinstallation of previous versions)</li>
        <li>Fix in SharePointTargets.targets for a customer</li>
        <li>changed installation to "AllUsers" for central provision of SPSF in companies</li>
    </ul>

    <h4>File Version 3.1.2.1804</h4>
    <ul>
        <li>Fix in MSBuild task because of timeout issue of a customer</li>
        <li>Fix in SharePointTargets.targets for customer TeamBuild</li>
    </ul>

    <h4>File Version 3.1.2.2008</h4>
    <ul>
        <li>Recipe "ContentType": Add attribute Inherits="True" by default to ContentTypes</li>
        <li>All Recipes: Changed boolean attributes to uppercase value ("TRUE" instead of "true") </li>
        <li>Recipe "Empty Feature": Changed name of feature receiver class to make it more readable </li>
        <li>Recipe "Empty Feature": Added method FeatureUpgrading to feature receiver template </li>
        <li>DeploymentTargets.msbuild: Better sample for PowerShell execution during deployment </li>
        <li>Deployment.msbuild: Moved BeforeDeploy later to ensure stable undeployment </li>
        <li>SharePointTargets.targets: Moved quality checks at the end to execute checks at last step during build </li>
        <li>Upgrade Setup for VS2008 to WIX 3.5 </li>
        <li>Fix in ListInstance Recipe: Attribute FeatureId points to correct parent feature id of list template </li>
        <li>Fix: If no projects are in the solution add new WSP created a HIVE template instead of VS template</li>
    </ul>

    <h3>Changes in 3.2.</h3>

    <h4>New Recipes</h4>
    <ul>
        <li>Menu "List And Doc": Linq to SharePoint (imports the schema of several lists to LINQ classes)</li>
        <li>Menu "BCS": Simple BCS Model</li>
        <li>Menu "BCS": Import BCS Model from Database</li>
        <li>Menu "BCS": Model BCS Model with classes</li>
        <li>Menu "BCS": Quick Deploy BCS Model (undeploys/deploys BCS model via powershell)</li>
        <li>Menu "Security": Minimal CAS, Medium CAS, recipes for single CAS Policy Items etc.</li>
        <li>Menu "ASP.NET": WCF Webservice </li>   
        <li>code snippets added, partly from http://spcodesnippets.codeplex.com Thx to Ayman El-Hattab (http://aymanelhattab.com) </li>
        <li>Added custom FxCopDictionary to allow project specific exclusions for abbreviations, keyword, acronyns etc. Dictionary will be automatically used in Realase build configuration.</li>
    </ul>

    <h4>Improvements</h4>
    <ul>
        <li>ParametersDefault.msbuild sets RestartIIS to false by default </li> 
        <li>ParametersDefault.msbuild updated sample structure to allow easy setup of multiple deployment environments </li> 
        <li>In selection form of fields or content types the group is displayed (e.g. for field "Title" there are 6 results and no difference)</li> 
        <li>SharePointVersions.xml with current version numbers </li> 
        <li>Added BCS extensions (DBML, BDCM) to function "IsExcludedExtension" to avoid that model layout is saved to the WSP file </li> 
        <li>Change default.aspx in site defition Team Site and Blank Site to version 2010 </li> 
        <li>In feature selection dialog a existing feature of allowed scope is selected by default </li> 
        <li>StartDeploy.bat: Made verbosity for ULSLogger configurable (previously it was always diagnostic)</li> 
    </ul>

    <h4>Bug Fixes</h4>
    <ul>
        <li>Deployment.msbuild added " by default for stsadm path </li>
        <li>Deployment.targets corrected stsadm and powershell examples </li>
        <li>Codeplex ID 6253: Typo for Ribbon Group Document</li>
        <li>Codeplex ID 6170: Webservice Error creating WSDL and DISCO when Windows SDK is not installed </li>
        <li>Codeplex ID 6190: Code Snippets are not correct </li>
        <li>Corrected FxCopConsoleOutput.xls to display Critical and Errors of FXCop in Release build as errors instead of warnings in the Error List of VS </li>
        <li>Create inital .csproj.user with SiteDebuggingUrl for SharePoint WSP projects </li>
        <li>ListInstance recipe refrenced language resources in global resource file, instead of feature resource file</li> 
        <li>Search for gacutil fixed </li>
        <li>SharePointTargets.targets for HIVE: added parameter for text templating generation (" -P &lt;path to referenced assemblies&gt;") to allow loading of assemblies needed for SafeControl entry </li>
        <li>SharePointTargets.targets: Changed $(IsDesktopBuild) to $(BuildingInsideVisualStudio) to allow team build in TFS 2010 </li>
        <li>MSBuild ULSLogger: Changed date format to InvariantCulture to overcome issues with ULSViewer </li>
        <li>MSBuild ULSLogger: Applying log level to all messages to be able to reduce file size of log files for larger deployments</li>
    </ul>

			<h6>&nbsp;</h6>
	<h1>2. Recipes</h1><h2>2.1. SPSF Projects</h2>
		Contains the project templates
		<h3>2.1.4. SharePoint 2007 Application</h3>
			
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Application Settings</td>
							</tr>                
														<tr>
								<td>Company Name</td>
								<td>Required String. Specifies the company name of the SharePoint application, used in copyright statements.</td>
							</tr>                
														<tr>
								<td>Application Name</td>
								<td>Required String. Specifies the name of the SharePoint application, given by the name of the VS solution name.</td>
							</tr>                
														<tr>
								<td>Application Version</td>
								<td>Required String. Specifies the version of the SharePoint application.</td>
							</tr>                
														<tr>
								<td>Local Site for debugging</td>
								<td>Optional Url. Name of a SharePoint site for local debugging.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Multilanguage Settings</td>
							</tr>                
														<tr>
								<td>Generate .resx files automatically</td>
								<td>Optional Boolean. If true .resx files are generated automatically.</td>
							</tr>                
														<tr>
								<td>Add separate project for language resources</td>
								<td>Optional Boolean. It is a best practice to use a separate project for language resources to make new languages easier to integrate. If unchecked resources are added in each WSP solution.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Code Quality</td>
							</tr>                
														<tr>
								<td>Check code with FxCop in 'Release' build</td>
								<td>Optional Boolean. If true Microsoft FxCop will be executed during the 'Release' build to check the complied code against certain coding rules. Additionally a SharePoint specific FxCop settings file will be added to the solution.</td>
							</tr>                
														<tr>
								<td>Check code with StyleCop in 'Release' build</td>
								<td>Optional Boolean. If true Microsoft StyleCop will be executed during the 'Release' build to check the C# source code against certain style rules. Additionally a SharePoint specific StyleCop settings file will be added to the solution.</td>
							</tr>                
														<tr>
								<td>Check code with ShareCop in 'Release' build</td>
								<td>Optional Boolean. If true SharePoint Code Analysis will be executed during the 'Release' build to check the C# source code against certain style rules. Additionally a SharePoint specific ShareCop settings file will be added to the solution.</td>
							</tr>                
														<tr>
								<td>Check code with SPDisposeChecker in 'Release' build</td>
								<td>Optional Boolean. If true SharePoint Dispose Checker will be executed during the 'Release' build to check the code for potential memory leaks.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Initial WSP Solution</td>
							</tr>                
														<tr>
								<td>Final WSP Solution Filename</td>
								<td>Optional String. Displays the final name of the wsp solution file</td>
							</tr>                
														<tr>
								<td>WSP Solution Name</td>
								<td>Required String. Specifies the name of the wsp solution. The final wsp solution name will be a combination of the application name (name of the VS.NET solution) and the wsp name.</td>
							</tr>                
														<tr>
								<td>Deployment Server Type</td>
								<td>Optional String. Specifies the type of deployment server.</td>
							</tr>                
														<tr>
								<td>Deployment Target</td>
								<td>Optional String. Specifies the deployment target.</td>
							</tr>                
														<tr>
								<td>Reset Webserver</td>
								<td>Optional Boolean. If checked the option "ResetWebServer" in the solution manifest is set to TRUE.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

			<h3>2.1.2. MSBuild Task</h3>
			
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Task Name</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

			<h3>2.1.5. SharePoint 2010 Application</h3>
			
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Application Settings</td>
							</tr>                
														<tr>
								<td>Company Name</td>
								<td>Required String. Specifies the company name of the SharePoint application, used in copyright statements.</td>
							</tr>                
														<tr>
								<td>Application Name</td>
								<td>Required String. Specifies the name of the SharePoint application, given by the name of the VS solution name.</td>
							</tr>                
														<tr>
								<td>Application Version</td>
								<td>Required String. Specifies the version of the SharePoint application.</td>
							</tr>                
														<tr>
								<td>Local Site for debugging</td>
								<td>Optional Url. Name of a SharePoint site for local debugging.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Multilanguage Settings</td>
							</tr>                
														<tr>
								<td>Generate .resx files automatically</td>
								<td>Optional Boolean. If true .resx files are generated automatically.</td>
							</tr>                
														<tr>
								<td>Add separate project for language resources</td>
								<td>Optional Boolean. It is a best practice to use a separate project for language resources to make new languages easier to integrate. If unchecked resources are added in each WSP solution.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Code Quality</td>
							</tr>                
														<tr>
								<td>Check code with FxCop in 'Release' build</td>
								<td>Optional Boolean. If true Microsoft FxCop will be executed during the 'Release' build to check the complied code against certain coding rules. Additionally a SharePoint specific FxCop settings file will be added to the solution.</td>
							</tr>                
														<tr>
								<td>Check code with StyleCop in 'Release' build</td>
								<td>Optional Boolean. If true Microsoft StyleCop will be executed during the 'Release' build to check the C# source code against certain style rules. Additionally a SharePoint specific StyleCop settings file will be added to the solution.</td>
							</tr>                
														<tr>
								<td>Check code with ShareCop in 'Release' build</td>
								<td>Optional Boolean. If true SharePoint Code Analysis will be executed during the 'Release' build to check the C# source code against certain style rules. Additionally a SharePoint specific ShareCop settings file will be added to the solution.</td>
							</tr>                
														<tr>
								<td>Check code with SPDisposeChecker in 'Release' build</td>
								<td>Optional Boolean. If true SharePoint Dispose Checker will be executed during the 'Release' build to check the code for potential memory leaks.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Initial WSP Solution</td>
							</tr>                
														<tr>
								<td>Final WSP Solution Filename</td>
								<td>Optional String. Displays the final name of the wsp solution file</td>
							</tr>                
														<tr>
								<td>WSP Solution Name</td>
								<td>Required String. Specifies the name of the wsp solution. The final wsp solution name will be a combination of the application name (name of the VS.NET solution) and the wsp name.</td>
							</tr>                
														<tr>
								<td>Deployment Server Type</td>
								<td>Optional String. Specifies the type of deployment server.</td>
							</tr>                
														<tr>
								<td>Deployment Target</td>
								<td>Optional String. Specifies the deployment target.</td>
							</tr>                
														<tr>
								<td>Reset Webserver</td>
								<td>Optional Boolean. If checked the option "ResetWebServer" in the solution manifest is set to TRUE.</td>
							</tr>                
														<tr>
								<td>Sandboxed solution</td>
								<td>Optional Boolean. If checked a sandboxed solutions will be created.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

			<h3>2.1.7. Sharepoint 2007 Solution Package (.wsp)</h3>
			
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        A customation project is the core wsp solution project type to deploy a .wsp solution to SharePoint.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Final WSP Solution Filename</td>
								<td>Optional String. Displays the final name of the wsp solution file</td>
							</tr>                
														<tr>
								<td>Solution Name</td>
								<td>Required String. Name of the project without full namespace.</td>
							</tr>                
														<tr>
								<td>Deployment Server Type</td>
								<td>Optional String. Specifies the type of deployment server.</td>
							</tr>                
														<tr>
								<td>Deployment Target</td>
								<td>Optional String. Specifies the deployment target.</td>
							</tr>                
														<tr>
								<td>Site Url for debugging</td>
								<td>Optional String. Specifies the local web application which is used for debugging and deployment.</td>
							</tr>                
														<tr>
								<td>Reset Webserver</td>
								<td>Optional Boolean. If checked the option "ResetWebServer" in the solution manifest is set to TRUE.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

			<h3>2.1.8. Sharepoint 2010 Solution Package (.wsp)</h3>
			
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        A customation project is the core wsp solution project type to deploy a .wsp solution to SharePoint.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Final WSP Solution Filename</td>
								<td>Optional String. Displays the final name of the wsp solution file</td>
							</tr>                
														<tr>
								<td>Solution Name</td>
								<td>Required String. Name of the project without full namespace.</td>
							</tr>                
														<tr>
								<td>Deployment Server Type</td>
								<td>Optional String. Specifies the type of deployment server.</td>
							</tr>                
														<tr>
								<td>Deployment Target</td>
								<td>Optional String. Specifies the deployment target.</td>
							</tr>                
														<tr>
								<td>Reset Webserver</td>
								<td>Optional Boolean. If checked the option "ResetWebServer" in the solution manifest is set to TRUE.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

			<h3>2.1.6. Sharepoint 2007 Solution Package (.wsp)</h3>
			
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        A customation project is the core wsp solution project type to deploy a .wsp solution to SharePoint.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Final WSP Solution Filename</td>
								<td>Optional String. Displays the final name of the wsp solution file</td>
							</tr>                
														<tr>
								<td>Solution Name</td>
								<td>Required String. Name of the project without full namespace.</td>
							</tr>                
														<tr>
								<td>Deployment Server Type</td>
								<td>Optional String. Specifies the type of deployment server.</td>
							</tr>                
														<tr>
								<td>Deployment Target</td>
								<td>Optional String. Specifies the deployment target.</td>
							</tr>                
														<tr>
								<td>Reset Webserver</td>
								<td>Optional Boolean. If checked the option "ResetWebServer" in the solution manifest is set to TRUE.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

			<h3>2.1.9. Sharepoint 2010 Solution Package (.wsp)</h3>
			
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        A customation project is the core wsp solution project type to deploy a .wsp solution to SharePoint.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Final WSP Solution Filename</td>
								<td>Optional String. Displays the final name of the wsp solution file</td>
							</tr>                
														<tr>
								<td>Solution Name</td>
								<td>Required String. Name of the project without full namespace.</td>
							</tr>                
														<tr>
								<td>Deployment Server Type</td>
								<td>Optional String. Specifies the type of deployment server.</td>
							</tr>                
														<tr>
								<td>Deployment Target</td>
								<td>Optional String. Specifies the deployment target.</td>
							</tr>                
														<tr>
								<td>Site Url for debugging</td>
								<td>Optional String. Specifies the local web application which is used for debugging and deployment.</td>
							</tr>                
														<tr>
								<td>Reset Webserver</td>
								<td>Optional Boolean. If checked the option "ResetWebServer" in the solution manifest is set to TRUE.</td>
							</tr>                
														<tr>
								<td>Sandboxed solution</td>
								<td>Optional Boolean. If checked a sandboxed solutions will be created.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

			<h3>2.1.1. SharePoint Class Library (.dll)</h3>
			
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

			<h3>2.1.3. PowerShell Snapin Project</h3>
			
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Title</td>
								<td>Required String. Specifies the title of the snapin.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required String. Specifies the title of the snapin.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

			<h2>2.2. SPSF Artefacts</h2>
		Helps to create SharePoint code
		<h3>2.1.1. Features</h3>
			Contains feature recipes
			<h4>2.1.1.1. Empty Feature</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe creates a new empty feature. It should be used as a start for every custom feature. <br />            It can be specified if the feature should be deployed in a farm, web application, site, or web scope.<br />            Most of sharepoint custom components like content types, event handler etc. require a feature.<br />            One feature can be used to deploy multiple of these components but it is also possible to make feature activation dependent of other features.<br />        
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Feature settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Internal name of the Feature. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title (friendly name) of the Feature. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description of the Features purpose.</td>
							</tr>                
														<tr>
								<td>Scope</td>
								<td>Required Choice. Scope in which the Feature can be activated and contains one of the following values: Farm (farm), WebApplication (Web application), Site (site collection), Web (Web site).</td>
							</tr>                
														<tr>
								<td>Hidden</td>
								<td>Optional Boolean. Specifies if the feature should be hidden on the Feature activation webpages. This attribute equals FALSE by default.</td>
							</tr>                
														<tr>
								<td>Create Feature Receiver</td>
								<td>Optional Boolean. When activated, a feature receiver class file will be created and linked to the Feature. This attribute equals FALSE by default.</td>
							</tr>                
														<tr>
								<td>Create default elements.xml</td>
								<td>Optional Boolean. When activated the recipe creates a default elements.xml file. This attribute equals TRUE by default.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced settings</td>
							</tr>                
														<tr>
								<td>Feature ID</td>
								<td>Required GUID. The GUID will be autogenerated by the recipe, but can be customized if neccesary.</td>
							</tr>                
														<tr>
								<td>Feature Version</td>
								<td>Optional Text. Specifies a System.Version-compliant representation of the version of a Feature. This can be up to four numbers delimited by decimals that represent a version.</td>
							</tr>                
														<tr>
								<td>Creator</td>
								<td>Optional Text. Name of the creator of the Feature stored in the feature.xml.</td>
							</tr>                
														<tr>
								<td>Activation Dependencies</td>
								<td>Optional GUID. One or multiple Features of which the activation of this Feature should depend on. The dependencies can be either out of the box SharePoint Features or custom Features of this project.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Options</td>
							</tr>                
														<tr>
								<td>Activate On Default</td>
								<td>Optional Boolean. TRUE if the Feature is activated by default during installation or when a Web application is created; FALSE if the Feature is not activated. This attribute equals TRUE by default. The ActivateOnDefault attribute does not apply to site collection (Site) or Web site (Web) scoped Features. In general, Farm-scoped Features become activated during installation, and when a new Web application is created, all installed Web application-scoped Features in it become activated.</td>
							</tr>                
														<tr>
								<td>Always Force Install</td>
								<td>Optional Boolean. TRUE if the Feature is installed by force during installation even if the Feature is already installed. For example, if set to TRUE, Feature installation callouts will always fire anytime a user tries to install the Feature (even if it is already installed) by using either the scanforFeatures or installfeature command-line operation. This attribute equals FALSE by default. The AlwaysForceInstall attribute affects Features of all scopes.</td>
							</tr>                
														<tr>
								<td>Auto Activate In Central Admin</td>
								<td>Optional Boolean. TRUE if the Feature is activated by default in the Administrative Web site, site collection, or Web application. This attribute equals FALSE by default. The AutoActivateInCentralAdmin attribute does not apply to Farm-scoped Features.</td>
							</tr>                
														<tr>
								<td>Require Resources</td>
								<td>Optional Boolean. TRUE to specify that Windows SharePoint Services check whether resources exist for the Feature by verifying that the standard "sentinel" resource for the Feature is present for a particular culture. The RequireResources attribute allows you to constrict the visibility of certain Features depending on whether resources exist in a particular language for the Feature.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/cc263911.aspx" target="_new">MSDN: Creating a Custom Feature in SharePoint Server 2007</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms460318.aspx" target="_new">MSDN: Working with Features</a>
					</li>
					<li>
						<a href="http://www.codeplex.com/features" target="_new">Codeplex: Features</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Feature: Add Property</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Key</td>
								<td>Optional Text. Returns the identifier of the property being modified.</td>
							</tr>                
														<tr>
								<td>Value</td>
								<td>Optional Text. Returns the value of the property.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms460318.aspx" target="_new">MSDN: Working with Features</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Feature: Add Upgrade Action for Content Type</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Content Type</td>
								<td>Optional string. Specifies the content type.</td>
							</tr>                
														<tr>
								<td>Field</td>
								<td>Optional string. Specifies the field in the content type.</td>
							</tr>                
														<tr>
								<td>Push Down Changes</td>
								<td>Optional Boolean. Specifies whether the content type field should be applied to inheriting content types and lists.</td>
							</tr>                
														<tr>
								<td>Begin Version</td>
								<td>Optional string. Specifies the earliest version number to upgrade.</td>
							</tr>                
														<tr>
								<td>End Version</td>
								<td>Optional string. Specifies the latest version number to upgrade.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms460318.aspx" target="_new">MSDN: Working with Features</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Feature: Add Activation Dependency</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Activation Dependencies</td>
								<td>Optional GUID. One or multiple Features of which the activation of this Feature should depend on. The dependencies can be either out of the box SharePoint Features or custom Features of this project.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms460318.aspx" target="_new">MSDN: Working with Features</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Feature: Add Activation Dependency</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Feature Activation Dependencies in SharePoint 2010 can contain additional properties like MinimumVersion, FeatureName and FeatureDescription.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Activation Dependencies</td>
								<td>Optional GUID. One or multiple Features of which the activation of this Feature should depend on. The dependencies can be either out of the box SharePoint Features or custom Features of this project.</td>
							</tr>                
														<tr>
								<td>Minimum Version</td>
								<td>Optional string. The minimum version of the Feature dependency. This attribute must use the pattern n.n.n.n, where each occurrence of n is a numeric value.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms460318.aspx" target="_new">MSDN: Working with Features</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.2. Lists and Libaries</h3>
			Contains recipes which belong to SharePoint lists
			<h4>2.1.1.10. Module</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Select Files</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Contains the name of the file set.</td>
							</tr>                
														<tr>
								<td>Target Url</td>
								<td>Optional Text. Specifies the virtual path of the folder in which to place the files when a site is instantiated. If Path is not specified, the value of Url is used for the physical path. Use the Url attribute to provision a folder through the Feature.</td>
							</tr>                
														<tr>
								<td>Files</td>
								<td>Select the files which should be added to the module. The selected files will be copied into the project.</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. TRUE if the files specified in the module are installed only in the top-level Web site of the site collection.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.9. List Instance</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">List Instance Settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title of the list in the schema.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Contains a description of the list.</td>
							</tr>                
														<tr>
								<td>Template Type</td>
								<td></td>
							</tr>                
														<tr>
								<td>Url</td>
								<td>Required Text. Returns the site-relative URL at which to place the list.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. TRUE to specify that the list created from the definition exists only in the root Web site of a site collection.</td>
							</tr>                
														<tr>
								<td>OnQuickLaunch</td>
								<td>Optional Boolean. TRUE to display lists created from the list definition on the Quick Launch bar.</td>
							</tr>                
														<tr>
								<td>QuickLaunchUrl</td>
								<td>Optional Text. Specifies the URL of the view page to open for the list through Quick Launch navigation.</td>
							</tr>                
														<tr>
								<td>Id</td>
								<td>Required Text. Specifies a unique identifier for the list instance. The integer must be unique across the Feature definition.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.8. List Definition</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">List Template Settings</td>
							</tr>                
														<tr>
								<td>Base Template</td>
								<td>Required Integer. Specifies the base type, or default schema, for lists created from the definition.</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the internal name of the list definition. No spaces or special characters can be used. This name is also used to find the folder that contains the Schema.xml file that defines the schema in use.</td>
							</tr>                
														<tr>
								<td>DisplayName</td>
								<td>Required Text. Specifies the display name of the list definition.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Provides a description of the list definition.</td>
							</tr>                
														<tr>
								<td>Category</td>
								<td>Optional Text. Specifies the category with which to associate lists created through the list definition.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the ordering priority to use for the list template on the Create page. If Sequence is not set, the template appears last in arbitrary order with any other templates that also lack a Sequence value. Two templates that specify the same sequence are sorted together in an arbitrary order.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>Type</td>
								<td>Optional Integer. Provides a unique identifier for the template. This identifier must be unique within the feature, but need not be unique across all feature definitions or site definitions. </td>
							</tr>                
														<tr>
								<td>Base Type</td>
								<td>Required Integer. Specifies the base type, or default schema, for lists created from the definition.</td>
							</tr>                
														<tr>
								<td>Additional Content Types</td>
								<td>Optional Content Types.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Options</td>
							</tr>                
														<tr>
								<td>Default in new sites</td>
								<td>Optional Boolean. TRUE to specify that new SharePoint sites will include this list.</td>
							</tr>                
														<tr>
								<td>OnQuickLaunch</td>
								<td>Optional Boolean. TRUE to display lists created from the list definition on the QuickLaunch bar.</td>
							</tr>                
														<tr>
								<td>DisableAttachments</td>
								<td>Optional Boolean. TRUE to specify that users can attach files to items in lists created through the template; otherwise, FALSE.</td>
							</tr>                
														<tr>
								<td>DisallowContentTypes</td>
								<td>Optional Boolean. TRUE to specify that content types can be managed on lists created through the template; otherwise, FALSE.</td>
							</tr>                
														<tr>
								<td>VersioningEnabled</td>
								<td>Optional Boolean. TRUE to specify that versioning is enabled by default in lists created through the template; otherwise, FALSE.</td>
							</tr>                
														<tr>
								<td>FolderCreation</td>
								<td>Optional Boolean. TRUE to enable folder creation within the list and to specify that the New Folder command appears on the New menu in list views; otherwise, FALSE.</td>
							</tr>                
														<tr>
								<td>EnableModeration</td>
								<td>Optional Boolean. TRUE to specify that content approval is enabled by default in lists created through the template; otherwise, FALSE.</td>
							</tr>                
														<tr>
								<td>Hidden</td>
								<td>Optional Boolean. TRUE to specify that the list definition is not available on the Create page for creating lists.</td>
							</tr>                
														<tr>
								<td>HiddenList</td>
								<td>Optional Boolean. TRUE to specify that a list created from the list definition is hidden.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced</td>
							</tr>                
														<tr>
								<td>Security Read</td>
								<td>Optional Text. Defines the item-level permissions in the list for users with sufficient permission to read or edit list items. The SecurityBits attribute contains a 2-digit string. The first digit in the string controls the read access; the second digit in the string controls the edit access.</td>
							</tr>                
														<tr>
								<td>Security Edit</td>
								<td>Optional Text. Defines the item-level permissions in the list for users with sufficient permission to read or edit list items. The SecurityBits attribute contains a 2-digit string. The first digit in the string controls the read access; the second digit in the string controls the edit access.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.11. Site Column</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Site Column Type</td>
							</tr>                
														<tr>
								<td>ID</td>
								<td>Required Text. Specifies the GUID of the field.</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. The name of a field. This is the internal name of a field and is guaranteed never to change for the lifetime of the field definition. It must be unique with respect to the set of fields in a list. The name is autogenerated based on the user-defined name for a field.</td>
							</tr>                
														<tr>
								<td>Display Name</td>
								<td>Optional Text. The displayed name for a field. There is no restriction on text size or use of spaces. The display name can be edited by the user and can change after initial field creation. This name is used as a column heading when the field is displayed in a table view and as a form label when the field is displayed in a form. The FieldName tag returns the display name if given; otherwise, it defaults to the Name attribute.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Provides the description that is shown in the edit form for a list if a field description is specified. By default, fields in Microsoft Windows SharePoint Services do not have descriptions.</td>
							</tr>                
														<tr>
								<td>Group</td>
								<td>Optional Text. Specifies the column group to which the field belongs.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms437580.aspx" target="_new">MSDN: Field Element Schema</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Content Type Binding</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Content Type Binding</td>
							</tr>                
														<tr>
								<td>Content Type</td>
								<td>Required Text. A string that represents the content type ID of the site content type to add to the specified list.</td>
							</tr>                
														<tr>
								<td>List Url</td>
								<td>Required Text. A string that represents the Web-relative path to the list to which to add the content type (e.g. "Pages", "Lists/Contacts").</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. TRUE to associate this binding only on the root Web site in a site collection (new in SP 2010).</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/aa543152.aspx" target="_new">Content Type Binding Schema</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Content Type</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Content Type Settings</td>
							</tr>                
														<tr>
								<td>Parent Content Type</td>
								<td>Required. New content type will be derived from the selected parent content type.</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the content type name.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Provides a description for the content type, to display in the Windows SharePoint Services user interface.</td>
							</tr>                
														<tr>
								<td>Group</td>
								<td>Optional Text. Specifies the content type group to which the content type is assigned. Content type groups are user-defined groups that help you organize your columns into logical categories.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Fields</td>
							</tr>                
														<tr>
								<td>Fields</td>
								<td>Optional. Specifies a column to reference in this content type.</td>
							</tr>                
														<tr>
								<td>Remove Fields</td>
								<td>Optional. Specifies a column reference, included in the parent content type, to be removed from this content type.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Document Template</td>
							</tr>                
														<tr>
								<td>Document Template</td>
								<td>Optional Text. Document template which is used for creation of new items based on this content type.</td>
							</tr>                
														<tr>
								<td>Place template in _layouts folder for easier upgrade</td>
								<td>Optional Boolean. If checked, the selected document template will be placed inside the /_layouts/ in SharePoint and can be updated easier in the future. Otherwise the document template will be stored in the database.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Event Receivers</td>
							</tr>                
														<tr>
								<td>Item Adding</td>
								<td>Optional Boolean. If checked an event handler for ItemAdding event is added to the content type.</td>
							</tr>                
														<tr>
								<td>Item Added</td>
								<td>Optional Boolean. If checked an event handler for ItemAdded event is added to the content type.</td>
							</tr>                
														<tr>
								<td>Item Updating</td>
								<td>Optional Boolean. If checked an event handler for ItemUpdating event is added to the content type.</td>
							</tr>                
														<tr>
								<td>Item Updated</td>
								<td>Optional Boolean. If checked an event handler for ItemUpdated event is added to the content type.</td>
							</tr>                
														<tr>
								<td>Item Deleting</td>
								<td>Optional Boolean. If checked an event handler for ItemDeleting event is added to the content type.</td>
							</tr>                
														<tr>
								<td>Item Deleted</td>
								<td>Optional Boolean. If checked an event handler for ItemDeleted event is added to the content type.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Custom Forms</td>
							</tr>                
														<tr>
								<td>Custom Display Form</td>
								<td>Optional Boolean. If checked a custom form for the display mode of the content type is added.</td>
							</tr>                
														<tr>
								<td>Custom Edit Form</td>
								<td>Optional Boolean. If checked a custom form for the edit mode of the content type is added.</td>
							</tr>                
														<tr>
								<td>Custom New Form</td>
								<td>Optional Boolean. If checked a custom form for the creation of the content type is added.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>Content Type ID</td>
								<td>Required Text. Specifies the content type ID of the content type.</td>
							</tr>                
														<tr>
								<td>Content Type Version</td>
								<td>Reserved for future use.</td>
							</tr>                
														<tr>
								<td>Hidden</td>
								<td>Optional Boolean. TRUE to define the content type as hidden. If you define a content type as hidden, Windows SharePoint Services does not display that content type on the New button in list views. If you do not include this attribute, Windows SharePoint Services treats the content type as if this attributes was set to FALSE.</td>
							</tr>                
														<tr>
								<td>Read Only</td>
								<td>Optional Boolean. TRUE to define the content type as read-only. If you do not include this attribute, Windows SharePoint Services treats the content type as if this attributes was set to FALSE.</td>
							</tr>                
														<tr>
								<td>Sealed</td>
								<td>Optional Boolean. TRUE to define the content type as sealed. You must have site collection administrator rights to unseal and edit a content type defined as sealed. If you do not include this attribute, Windows SharePoint Services treats the content type as if this attributes was set to FALSE.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms463449.aspx" target="_new">Content Type Definition Schema</a>
					</li>
					                
			   </ul></p>
			      
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Related Recipes</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>        
				<p>
				<ul>
				                
			   </ul>
			   </p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. ContentType: Add Field</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Parent Element</td>
							</tr>                
														<tr>
								<td>Parent Content Type</td>
								<td>Required. Select the content type.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Fields</td>
							</tr>                
														<tr>
								<td>Fields</td>
								<td>Optional. Specifies a column to reference in this content type.</td>
							</tr>                
														<tr>
								<td>Remove Fields</td>
								<td>Optional. Specifies a column reference, included in the parent content type, to be removed from this content type.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms463449.aspx" target="_new">Content Type Definition Schema</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. ContentType: Add Document Template</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Parent Element</td>
							</tr>                
														<tr>
								<td>Parent Content Type</td>
								<td>Required. Select the content type.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Document Template</td>
							</tr>                
														<tr>
								<td>Document Template</td>
								<td>Optional Text. Document template which is used for creation of new items based on this content type.</td>
							</tr>                
														<tr>
								<td>Place template in _layouts folder for easier upgrade</td>
								<td>Optional Boolean. If checked, the selected document template will be placed inside the /_layouts/ in SharePoint and can be updated easier in the future. Otherwise the document template will be stored in the database.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms463449.aspx" target="_new">Content Type Definition Schema</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. ContentType: Add Event Receiver</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Parent Element</td>
							</tr>                
														<tr>
								<td>Parent Content Type</td>
								<td>Required. Select the content type.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Event Receivers</td>
							</tr>                
														<tr>
								<td>Item Adding</td>
								<td>Optional Boolean. If checked an event handler for ItemAdding event is added to the content type.</td>
							</tr>                
														<tr>
								<td>Item Added</td>
								<td>Optional Boolean. If checked an event handler for ItemAdded event is added to the content type.</td>
							</tr>                
														<tr>
								<td>Item Updating</td>
								<td>Optional Boolean. If checked an event handler for ItemUpdating event is added to the content type.</td>
							</tr>                
														<tr>
								<td>Item Updated</td>
								<td>Optional Boolean. If checked an event handler for ItemUpdated event is added to the content type.</td>
							</tr>                
														<tr>
								<td>Item Deleting</td>
								<td>Optional Boolean. If checked an event handler for ItemDeleting event is added to the content type.</td>
							</tr>                
														<tr>
								<td>Item Deleted</td>
								<td>Optional Boolean. If checked an event handler for ItemDeleted event is added to the content type.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms463449.aspx" target="_new">Content Type Definition Schema</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. ContentType: Add Custom Form</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Parent Element</td>
							</tr>                
														<tr>
								<td>Parent Content Type</td>
								<td>Required. Select the content type.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Custom Forms</td>
							</tr>                
														<tr>
								<td>Custom Display Form</td>
								<td>Optional Boolean. If checked a custom form for the display mode of the content type is added.</td>
							</tr>                
														<tr>
								<td>Custom Edit Form</td>
								<td>Optional Boolean. If checked a custom form for the edit mode of the content type is added.</td>
							</tr>                
														<tr>
								<td>Custom New Form</td>
								<td>Optional Boolean. If checked a custom form for the creation of the content type is added.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms463449.aspx" target="_new">Content Type Definition Schema</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.7. LINQ to SharePoint</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">LINQ Settings</td>
							</tr>                
														<tr>
								<td>LINQ Class Name</td>
								<td>Required Text. Contains the name of the generated class.</td>
							</tr>                
														<tr>
								<td>Final generated Class Name</td>
								<td>Optional String. Displays the final name of the generated class.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee538255.aspx" target="_new">SPMetal</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee535491.aspx" target="_new">Using LINQ to SharePoint</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.3. Webs and Sites</h3>
			Contains recipes related to sites
			<h4>2.1.1.3. Team Site Definition</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The Team Site Definition is a standard preconfigured site definition which already contains a documents library, an announcements list, discussion list etc. This site definition can be used as a starting point to create a custom team site definition based on the default out of the box configuration which comes with WSS.
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/TeamSiteDefinition/100_CreateSite.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/TeamSiteDefinition/200_Site.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">General settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specify the name of the folder which will be created in folder SiteTemplates. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title of the site template as it appears in the selection of Create Site dialog. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td>ID</td>
								<td>Required Number. Id of the site template. Should be unique on the farm and greater than 10000.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description of the purpose of this site definition.</td>
							</tr>                
														<tr>
								<td>Category</td>
								<td>Required Text. Title of the cateogry in which the site definition should appear in the Create Site dialog. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced settings</td>
							</tr>                
														<tr>
								<td>Hidden</td>
								<td>Optional Boolean. If TRUE hides the site definition from the Create Site dialog. Creation of sites with this definition through code will be still possible.</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. If TRUE the site created from the configuration can only exist as the root Web site in a site collection. This attribute is not enforced in site templates (.stp files).</td>
							</tr>                
														<tr>
								<td>Visibility Feature Dependency</td>
								<td>Optional Text. Optional Text. Used in a WebTemp*.xml file to hide the site definition configuration based on the activation state of the specified Feature. This attribute is not supported for Features with Web application scope.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://dotnet.sys-con.com/node/48162?page=0,0" target="_new">.Net Journal: Creating Custom Site Definitions in Microsoft Windows SharePoint Services</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms476942.aspx" target="_new">MSDN: Configuration Node</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms474369.aspx" target="_new">MSDN: Schema Onet.xml</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Blank Site Definition</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The BalnkSite Definition is a standard site definition which does not contain any lists or libraries.<br />        This site definition can be used as a starting point to create a custom site definition<br />        based on the default out of the box configuration which comes with WSS.
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/BlankSiteDefinition/100_CreateScreen.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/BlankSiteDefinition/200_Site.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">General settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specify the name of the folder which will be created in folder SiteTemplates. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title of the site template as it appears in the selection of Create Site dialog. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td>ID</td>
								<td>Required Number. Id of the site template. Should be unique on the farm and greater than 10000.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description of the purpose of this site definition.</td>
							</tr>                
														<tr>
								<td>Category</td>
								<td>Required Text. Title of the cateogry in which the site definition should appear in the Create Site dialog. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced settings</td>
							</tr>                
														<tr>
								<td>Hidden</td>
								<td>Optional Boolean. If TRUE hides the site definition from the Create Site dialog. Creation of sites with this definition through code will be still possible.</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. If TRUE the site created from the configuration can only exist as the root Web site in a site collection. This attribute is not enforced in site templates (.stp files).</td>
							</tr>                
														<tr>
								<td>Visibility Feature Dependency</td>
								<td>Optional Text. Optional Text. Used in a WebTemp*.xml file to hide the site definition configuration based on the activation state of the specified Feature. This attribute is not supported for Features with Web application scope.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://dotnet.sys-con.com/node/48162?page=0,0" target="_new">.Net Journal: Creating Custom Site Definitions in Microsoft Windows SharePoint Services</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms476942.aspx" target="_new">MSDN: Configuration Node</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms474369.aspx" target="_new">MSDN: Schema Onet.xml</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Feature Stapling</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Stapling SharePoint features with site definitions, which relies on the FeatureSiteTemplateAssociation element, allows developers to attach features to both standard and custom site definitions without directly modifying them. <br />          Every new site that is based on a site definition with a stapled feature is created with that feature activated. <br />          Feature stapling is particularly useful when you want to add functionality to standard site definitions because editing standard site definition files is not a recommended practice. (Source: MSDN)
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Feature Associations</td>
							</tr>                
														<tr>
								<td>Feature</td>
								<td>Required Feature. Feature to which the previously selected feature should be stapled to.</td>
							</tr>                
														<tr>
								<td>Site Template</td>
								<td>Optional Site Definition. Site Definition to which the previously selected feature should be stapled to.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/dd206907.aspx" target="_new">MSDN: Stapling Features to Site Definitions</a>
					</li>
					<li>
						<a href="http://www.sharepointnutsandbolts.com/2007/05/feature-stapling.html" target="_new">Chris O'Brien: Feature Stapling </a>
					</li>
					<li>
						<a href="http://blogs.msdn.com/cjohnson/archive/2006/11/01/feature-stapling-in-wss-v3.aspx" target="_new">Chris Johnson: Feature Stapling in WSS V3</a>
					</li>
					<li>
						<a href="http://blogs.msdn.com/sharepoint/archive/2007/03/22/customizing-moss-2007-my-sites-within-the-enterprise.aspx" target="_new">MS SharePoint Team Blog: Customizing MOSS 2007 My Sites within the enterprise</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/bb861862.aspx" target="_new">Definition Schema</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.4. Custom Actions and Ribbons</h3>
			Contains recipes to add custom actions and ribbons to the UI in
			<h4>2.1.1.1. Custom Action for Content Type</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/CustomActionContentType/100_Screen.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/CustomActionContentType/200_Screen.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Content Type</td>
							</tr>                
														<tr>
								<td>Content Type</td>
								<td>Select the content type to which the custom action should be added.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Custom Actions Settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Specifies the end user description for this action.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Specifies a longer description for the action that is exposed as a tooltip or sub-description for the action.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the ordering priority for actions.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>Custom Action ID</td>
								<td>Optional Text. Specifies a unique identifier for the custom action. The ID may be a GUID, or it may be a unique term, for example, "HtmlViewer".</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Options</td>
							</tr>                
														<tr>
								<td>Show In Lists</td>
								<td></td>
							</tr>                
														<tr>
								<td>Show In ReadyOnly ContentTypes</td>
								<td>Optional Boolean. TRUE if the custom action is only displayed for read-only content types on the page for managing content types. The default value is FALSE.</td>
							</tr>                
														<tr>
								<td>Show In Sealed ContentTypes</td>
								<td>Optional Boolean. TRUE if the custom action is only displayed for sealed content types on the page for managing content types. The default value is FALSE.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Url Settings</td>
							</tr>                
														<tr>
								<td>Type of action</td>
								<td>Required. Select the type of action that should be performed after click.</td>
							</tr>                
														<tr>
								<td>Url Page</td>
								<td>Optional Text. Select a page where the custom action should link to. Only required if field 'Type of action' is 'UrlAction'.</td>
							</tr>                
														<tr>
								<td>Use URL Prefix</td>
								<td>Optional Text. Select the prefix which should be placed at the beginning of the url action.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Custom Action for File Extension</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">File Extension</td>
							</tr>                
														<tr>
								<td>Extension</td>
								<td>Enter the file extension.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Custom Actions Settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Specifies the end user description for this action.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Specifies a longer description for the action that is exposed as a tooltip or sub-description for the action.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the ordering priority for actions.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>Custom Action ID</td>
								<td>Optional Text. Specifies a unique identifier for the custom action. The ID may be a GUID, or it may be a unique term, for example, "HtmlViewer".</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Options</td>
							</tr>                
														<tr>
								<td>Show In Lists</td>
								<td></td>
							</tr>                
														<tr>
								<td>Show In ReadyOnly ContentTypes</td>
								<td>Optional Boolean. TRUE if the custom action is only displayed for read-only content types on the page for managing content types. The default value is FALSE.</td>
							</tr>                
														<tr>
								<td>Show In Sealed ContentTypes</td>
								<td>Optional Boolean. TRUE if the custom action is only displayed for sealed content types on the page for managing content types. The default value is FALSE.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Url Settings</td>
							</tr>                
														<tr>
								<td>Type of action</td>
								<td>Required. Select the type of action that should be performed after click.</td>
							</tr>                
														<tr>
								<td>Url Page</td>
								<td>Optional Text. Select a page where the custom action should link to. Only required if field 'Type of action' is 'UrlAction'.</td>
							</tr>                
														<tr>
								<td>Use URL Prefix</td>
								<td>Optional Text. Select the prefix which should be placed at the beginning of the url action.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. Custom Action for ProgID (Document Type)</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">ProgId</td>
							</tr>                
														<tr>
								<td>Content Type</td>
								<td>
                Select the document type to which the custom action should be added.
              </td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Custom Actions Settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Specifies the end user description for this action.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Specifies a longer description for the action that is exposed as a tooltip or sub-description for the action.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the ordering priority for actions.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>Custom Action ID</td>
								<td>Optional Text. Specifies a unique identifier for the custom action. The ID may be a GUID, or it may be a unique term, for example, "HtmlViewer".</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Options</td>
							</tr>                
														<tr>
								<td>Show In Lists</td>
								<td></td>
							</tr>                
														<tr>
								<td>Show In ReadyOnly ContentTypes</td>
								<td>Optional Boolean. TRUE if the custom action is only displayed for read-only content types on the page for managing content types. The default value is FALSE.</td>
							</tr>                
														<tr>
								<td>Show In Sealed ContentTypes</td>
								<td>Optional Boolean. TRUE if the custom action is only displayed for sealed content types on the page for managing content types. The default value is FALSE.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Url Settings</td>
							</tr>                
														<tr>
								<td>Type of action</td>
								<td>Required. Select the type of action that should be performed after click.</td>
							</tr>                
														<tr>
								<td>Url Page</td>
								<td>Optional Text. Select a page where the custom action should link to. Only required if field 'Type of action' is 'UrlAction'.</td>
							</tr>                
														<tr>
								<td>Use URL Prefix</td>
								<td>Optional Text. Select the prefix which should be placed at the beginning of the url action.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Custom Action for List</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/CustomActionList/100_Screen.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/CustomActionList/200_Screen.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">List Type</td>
							</tr>                
														<tr>
								<td>List Type</td>
								<td>Select the list type where the action should be added.</td>
							</tr>                
														<tr>
								<td>Toolbar</td>
								<td>Select the location where the action should be added.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Custom Actions Settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Specifies the end user description for this action.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Specifies a longer description for the action that is exposed as a tooltip or sub-description for the action.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the ordering priority for actions.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>Custom Action ID</td>
								<td>Optional Text. Specifies a unique identifier for the custom action. The ID may be a GUID, or it may be a unique term, for example, "HtmlViewer".</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Options</td>
							</tr>                
														<tr>
								<td>Show In Lists</td>
								<td></td>
							</tr>                
														<tr>
								<td>Show In ReadyOnly ContentTypes</td>
								<td>Optional Boolean. TRUE if the custom action is only displayed for read-only content types on the page for managing content types. The default value is FALSE.</td>
							</tr>                
														<tr>
								<td>Show In Sealed ContentTypes</td>
								<td>Optional Boolean. TRUE if the custom action is only displayed for sealed content types on the page for managing content types. The default value is FALSE.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Url Settings</td>
							</tr>                
														<tr>
								<td>Type of action</td>
								<td>Required. Select the type of action that should be performed after click.</td>
							</tr>                
														<tr>
								<td>Url Page</td>
								<td>Optional Text. Select a page where the custom action should link to. Only required if field 'Type of action' is 'UrlAction'.</td>
							</tr>                
														<tr>
								<td>Use URL Prefix</td>
								<td>Optional Text. Select the prefix which should be placed at the beginning of the url action.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Custom Action for List Toolbar</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/CustomActionListToolbar/100_Screen.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">List Type</td>
							</tr>                
														<tr>
								<td>List Type</td>
								<td>Select the list type where the action should be added.</td>
							</tr>                
														<tr>
								<td>Toolbar</td>
								<td>Select the toolbar where the action should be added.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Custom Actions Settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Specifies the end user description for this action.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Specifies a longer description for the action that is exposed as a tooltip or sub-description for the action.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the ordering priority for actions.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>Custom Action ID</td>
								<td>Optional Text. Specifies a unique identifier for the custom action. The ID may be a GUID, or it may be a unique term, for example, "HtmlViewer".</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Options</td>
							</tr>                
														<tr>
								<td>Show In Lists</td>
								<td></td>
							</tr>                
														<tr>
								<td>Show In ReadyOnly ContentTypes</td>
								<td>Optional Boolean. TRUE if the custom action is only displayed for read-only content types on the page for managing content types. The default value is FALSE.</td>
							</tr>                
														<tr>
								<td>Show In Sealed ContentTypes</td>
								<td>Optional Boolean. TRUE if the custom action is only displayed for sealed content types on the page for managing content types. The default value is FALSE.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Url Settings</td>
							</tr>                
														<tr>
								<td>Type of action</td>
								<td>Required. Select the type of action that should be performed after click.</td>
							</tr>                
														<tr>
								<td>Url Page</td>
								<td>Optional Text. Select a page where the custom action should link to. Only required if field 'Type of action' is 'UrlAction'.</td>
							</tr>                
														<tr>
								<td>Use URL Prefix</td>
								<td>Optional Text. Select the prefix which should be placed at the beginning of the url action.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.7. Custom Action for Site</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/CustomActionSite/100_CustomActionSite.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/CustomActionSite/200_Screen.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/CustomActionSite/300_Screen.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/CustomActionSite/400_Screen.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Location settings</td>
							</tr>                
														<tr>
								<td>Menu Location</td>
								<td></td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Custom Actions Settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Specifies the end user description for this action.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Specifies a longer description for the action that is exposed as a tooltip or sub-description for the action.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the ordering priority for actions.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>Custom Action ID</td>
								<td>Optional Text. Specifies a unique identifier for the custom action. The ID may be a GUID, or it may be a unique term, for example, "HtmlViewer".</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Url Settings</td>
							</tr>                
														<tr>
								<td>Type of action</td>
								<td>Required. Select the type of action that should be performed after click.</td>
							</tr>                
														<tr>
								<td>Url Page</td>
								<td>Optional Text. Select a page where the custom action should link to. Only required if field 'Type of action' is 'UrlAction'.</td>
							</tr>                
														<tr>
								<td>Use URL Prefix</td>
								<td>Optional Text. Select the prefix which should be placed at the beginning of the url action.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.8. Custom Action for SiteActions menu</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/CustomActionSiteActionsMenu/100_SiteActionMenu.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/CustomActionSiteActionsMenu/200_Screen.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/CustomActionSiteActionsMenu/300_Screen.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Location settings</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Custom Actions Settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Specifies the end user description for this action.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Specifies a longer description for the action that is exposed as a tooltip or sub-description for the action.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the ordering priority for actions.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>Custom Action ID</td>
								<td>Optional Text. Specifies a unique identifier for the custom action. The ID may be a GUID, or it may be a unique term, for example, "HtmlViewer".</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Url Settings</td>
							</tr>                
														<tr>
								<td>Type of action</td>
								<td>Required. Select the type of action that should be performed after click.</td>
							</tr>                
														<tr>
								<td>Url Page</td>
								<td>Optional Text. Select a page where the custom action should link to. Only required if field 'Type of action' is 'UrlAction'.</td>
							</tr>                
														<tr>
								<td>Use URL Prefix</td>
								<td>Optional Text. Select the prefix which should be placed at the beginning of the url action.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Custom Action Group</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/CustomActionGroup/CustomActionGroup.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Location settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Specifies the end user description for this action.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Specifies a longer description for the action that is exposed as a tooltip or sub-description for the action.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the ordering priority for actions.</td>
							</tr>                
														<tr>
								<td>Hide Location</td>
								<td>Select the location where the action group should be added.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms438085.aspx" target="_new">MSDN: CustomActionGroup Element (Custom Action)</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms465980.aspx" target="_new">MSDN: Custom Action Definitions</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/bb802730.aspx" target="_new">MSDN: Default Custom Action Locations and IDs</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.9. Hide Custom Action</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Hide Action</td>
							</tr>                
														<tr>
								<td>Location Element</td>
								<td>Select the action which should be hidden.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.17. Ribbon Tab</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">General Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the name of the button control.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. The text to label the control.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. The text that appears as the description of the tooltip.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Integer. An integer that specifies the order of placement among sibling XML nodes.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Target Location Settings</td>
							</tr>                
														<tr>
								<td>Custom Action Location</td>
								<td>Required Text. Location element of the custom action.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Permission Settings</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional List Settings</td>
							</tr>                
														<tr>
								<td>Registration Type</td>
								<td>Optional Text. Specifies the registration attachment for a per-item action. Possible values include: None, List, ContentType, ProgId, FileType</td>
							</tr>                
														<tr>
								<td>Registration Id</td>
								<td>Optional Text. Specifies the identifier of the list or item content type that this action is associated with, or the file type or programmatic identifier (ProgID). Enter the list type (e.g. 101) or the content type (e.g.0x10).</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407250.aspx" target="_new">MSDN: Walkthrough: Add a Tab to the Server Ribbon</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407290.aspx" target="_new">MSDN: Server Ribbon XML</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee537543.aspx" target="_new">MSDN: Default Server Ribbon Customization Locations</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.12. Ribbon Group</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/RibbonGroup/100_RibbonGroup.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">General Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the name of the button control.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. The text to label the control.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. The text that appears as the description of the tooltip.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Integer. An integer that specifies the order of placement among sibling XML nodes.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Target Location Settings</td>
							</tr>                
														<tr>
								<td>Custom Action Location</td>
								<td>Required Text. Location element of the custom action.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Permission Settings</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional List Settings</td>
							</tr>                
														<tr>
								<td>Registration Type</td>
								<td>Optional Text. Specifies the registration attachment for a per-item action. Possible values include: None, List, ContentType, ProgId, FileType</td>
							</tr>                
														<tr>
								<td>Registration Id</td>
								<td>Optional Text. Specifies the identifier of the list or item content type that this action is associated with, or the file type or programmatic identifier (ProgID). Enter the list type (e.g. 101) or the content type (e.g.0x10).</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Location Settings</td>
							</tr>                
														<tr>
								<td>Parent Ribbon Tab</td>
								<td>Required Text. Specifies the existing ribbon tab into which the new group should be added.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407214.aspx" target="_new">MSDN: Walkthrough: Add a Group to the Server Ribbon</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407290.aspx" target="_new">MSDN: Server Ribbon XML</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee537543.aspx" target="_new">MSDN: Default Server Ribbon Customization Locations</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.11. Ribbon Control</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/RibbonControl/100_Ribbon.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">General Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the name of the button control.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. The text to label the control.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. The text that appears as the description of the tooltip.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Integer. An integer that specifies the order of placement among sibling XML nodes.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Target Location Settings</td>
							</tr>                
														<tr>
								<td>Custom Action Location</td>
								<td>Required Text. Location element of the custom action.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Permission Settings</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional List Settings</td>
							</tr>                
														<tr>
								<td>Registration Type</td>
								<td>Optional Text. Specifies the registration attachment for a per-item action. Possible values include: None, List, ContentType, ProgId, FileType</td>
							</tr>                
														<tr>
								<td>Registration Id</td>
								<td>Optional Text. Specifies the identifier of the list or item content type that this action is associated with, or the file type or programmatic identifier (ProgID). Enter the list type (e.g. 101) or the content type (e.g.0x10).</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Location Settings</td>
							</tr>                
														<tr>
								<td>Parent Ribbon Group</td>
								<td>Required Text. Specifies the existing ribbon group into which the new button should be added.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Control Settings</td>
							</tr>                
														<tr>
								<td>Type of Control</td>
								<td>Required String. Specifies the type of control that should be added.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407458.aspx" target="_new">MSDN: Walkthrough: Add a Button to the Server Ribbon</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407290.aspx" target="_new">MSDN: Server Ribbon XML</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee537543.aspx" target="_new">MSDN: Default Server Ribbon Customization Locations</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.15. Sample: Add Ribbon Button to List Form</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">General Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the name of the button control.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. The text to label the control.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. The text that appears as the description of the tooltip.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Integer. An integer that specifies the order of placement among sibling XML nodes.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Permission Settings</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional List Settings</td>
							</tr>                
														<tr>
								<td>List Type</td>
								<td>Select the list type where the action should be added.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Location Settings</td>
							</tr>                
														<tr>
								<td>Parent Ribbon Group</td>
								<td>Required Text. Specifies the existing ribbon group into which the new button should be added.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms473643.aspx" target="_new">MSDN: How to: Modify the User Interface Using Custom Actions</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407290.aspx" target="_new">MSDN: Server Ribbon XML</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee537543.aspx" target="_new">MSDN: Default Server Ribbon Customization Locations</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.14. Sample: Add Ribbon Button to Item Form</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">General Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the name of the button control.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. The text to label the control.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. The text that appears as the description of the tooltip.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Integer. An integer that specifies the order of placement among sibling XML nodes.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Permission Settings</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Form Settings</td>
							</tr>                
														<tr>
								<td>Custom Action Location</td>
								<td>Required Text. Location element of the custom action.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional List Settings</td>
							</tr>                
														<tr>
								<td>List Type</td>
								<td>Select the list type where the action should be added.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Location Settings</td>
							</tr>                
														<tr>
								<td>Parent Ribbon Group</td>
								<td>Required Text. Specifies the existing ribbon group into which the new button should be added.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms473643.aspx" target="_new">MSDN: How to: Modify the User Interface Using Custom Actions</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407290.aspx" target="_new">MSDN: Server Ribbon XML</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee537543.aspx" target="_new">MSDN: Default Server Ribbon Customization Locations</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.13. Sample: Add Ribbon Button to Content Type</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        In this sample a custom ribbon button is added to the edit form of the content type Document (0x0101). The following code adds the button to the actions group.<br />&#160;&#160;<br />&#160;&#160;&lt;CustomAction<br />&#160;&#160;&#160;&#160;Id="Ribbon.SP2010.VseWss.RibbonContentType"<br />&#160;&#160;&#160;&#160;Location="CommandUI.Ribbon"<br />&#160;&#160;&#160;&#160;Title="RibbonContentType"<br />&#160;&#160;&#160;&#160;RegistrationType="ContentType"<br />&#160;&#160;&#160;&#160;RegistrationId="0x0101"&gt;<br />&#160;&#160;&#160;&#160;&lt;CommandUIExtension&gt;<br />&#160;&#160;&#160;&#160;&#160;&#160;&lt;CommandUIDefinitions&gt;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;CommandUIDefinition<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Location="Ribbon.DocLibListForm.Edit.Actions.Controls._children"&gt;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;Button<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Id="Ribbon.SP2010.VseWss.RibbonContentType.Button"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Command="SP2010.VseWss.RibbonContentType.ButtonCommand"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Sequence="500"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16="/_layouts/images/SP2010_VseWss/RibbonIcon_RibbonContentType_16.gif"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32="/_layouts/images/SP2010_VseWss/RibbonIcon_RibbonContentType_32.gif"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;LabelText="ContentType Button"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;ToolTipTitle="ContentType Button"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;ToolTipDescription="Description of ContentType Button"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;TemplateAlias="o2" /&gt;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/CommandUIDefinition&gt;<br />&#160;&#160;&#160;&#160;&#160;&#160;&lt;/CommandUIDefinitions&gt;<br />&#160;&#160;&#160;&#160;&#160;&#160;&lt;CommandUIHandlers&gt;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;CommandUIHandler<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Command="SP2010.VseWss.RibbonContentType.ButtonCommand"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;CommandAction="javascript:alert('Hello, world');" /&gt;<br />&#160;&#160;&#160;&#160;&#160;&#160;&lt;/CommandUIHandlers&gt;<br />&#160;&#160;&#160;&#160;&lt;/CommandUIExtension&gt;<br />&#160;&#160;&lt;/CustomAction&gt;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/RibbonSampleContentTypeButton/100_Ribbon.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">General Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the name of the button control.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. The text to label the control.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. The text that appears as the description of the tooltip.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Integer. An integer that specifies the order of placement among sibling XML nodes.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Permission Settings</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Form Settings</td>
							</tr>                
														<tr>
								<td>Custom Action Location</td>
								<td>Required Text. Location element of the custom action.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional List Settings</td>
							</tr>                
														<tr>
								<td>Content Type</td>
								<td>Select the content type where the action should be added.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Location Settings</td>
							</tr>                
														<tr>
								<td>Parent Ribbon Group</td>
								<td>Required Text. Specifies the existing ribbon group into which the new button should be added.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms473643.aspx" target="_new">MSDN: How to: Modify the User Interface Using Custom Actions</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407290.aspx" target="_new">MSDN: Server Ribbon XML</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee537543.aspx" target="_new">MSDN: Default Server Ribbon Customization Locations</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.16. Sample: Ribbon Tab with 3 buttons</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/RibbonSampleTab/100_RibbonTab.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">General Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the name of the button control.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. The text to label the control.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. The text that appears as the description of the tooltip.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Integer. An integer that specifies the order of placement among sibling XML nodes.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Target Location Settings</td>
							</tr>                
														<tr>
								<td>Custom Action Location</td>
								<td>Required Text. Location element of the custom action.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Permission Settings</td>
							</tr>                
														<tr>
								<td>Rights</td>
								<td>Optional Text. Specifies a set of rights that the user must have in order for the link to be visible. If not specified, then the action always appears in the list of actions. The set of rights are grouped logically according to AND logic.</td>
							</tr>                
														<tr>
								<td>Require Site Administrator</td>
								<td>Optional Boolean. TRUE to specify that the item be displayed only if the user is a site administrator; otherwise, FALSE. Using the RequireSiteAdministrator attribute for the drop-down menu of Windows SharePoint Services commands associated with list items is not supported.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional List Settings</td>
							</tr>                
														<tr>
								<td>Registration Type</td>
								<td>Optional Text. Specifies the registration attachment for a per-item action. Possible values include: None, List, ContentType, ProgId, FileType</td>
							</tr>                
														<tr>
								<td>Registration Id</td>
								<td>Optional Text. Specifies the identifier of the list or item content type that this action is associated with, or the file type or programmatic identifier (ProgID). Enter the list type (e.g. 101) or the content type (e.g.0x10).</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407250.aspx" target="_new">MSDN: Walkthrough: Add a Tab to the Server Ribbon</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407290.aspx" target="_new">MSDN: Server Ribbon XML</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee537543.aspx" target="_new">MSDN: Default Server Ribbon Customization Locations</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.10. Hide Ribbon Control</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/HideRibbonControl/100_HideControl.png" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Location settings</td>
							</tr>                
														<tr>
								<td>Parent Group</td>
								<td>Required Text. Specifies the existing ribbon control which should be hidden.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff408060.aspx" target="_new">MSDN: Walkthrough: Remove a Button from the Server Ribbon</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff407290.aspx" target="_new">MSDN: Server Ribbon XML</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee537543.aspx" target="_new">MSDN: Default Server Ribbon Customization Locations</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.5. Event Receivers</h3>
			Contains recipes for typical event listeners
			<h4>2.1.1.2. Item Event Handler</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Creates a ItemEventHandler.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Event Handler settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Used as the class name of the event handler.</td>
							</tr>                
														<tr>
								<td>List Template</td>
								<td>Optional Text. Specifies the index of the list template to which the event receiver applies. The following values are the default list template types.</td>
							</tr>                
														<tr>
								<td>List Template Owner</td>
								<td>Optional GUID. Specifies the GUID of the list template owner if the list template is registered via Features, or the name of the site definition if the list template is registered by a site definition.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Number. Specifies the order to use for the event registration when more than one handler is associated with the feature.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Registrations</td>
							</tr>                
														<tr>
								<td>Event Types</td>
								<td>Select the event elements.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Settings</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. True if the event receiver applies only to the root Web; otherwise, False.</td>
							</tr>                
														<tr>
								<td>Scope</td>
								<td>Optional enumeration. The scope of the event receiver. This can be Site or Web. When the Scope attribute is set to Site, event receivers that are defined inside of a Feature that is scoped to the site collection are registered at the site collection level. When the Scope attribute is set to Web, event receivers that are defined inside of a Feature that is scoped to a Web are registered on the Web.</td>
							</tr>                
														<tr>
								<td>Synchronization</td>
								<td>Specifies the synchronization of the event receiver.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms460929.aspx" target="_new">MSDN: Event Registrations</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/aa979520.aspx" target="_new">MSDN: Event Troubleshooting</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms462433.aspx" target="_new">MSDN: Walkthrough: Handling Document Library Events</a>
					</li>
					<li>
						<a href="http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?ID=69" target="_new">Dave Hunter's SharePoint Blog: Delving into SharePoint 2007 Event Receivers</a>
					</li>
					<li>
						<a href="http://sharepointdevwiki.com/display/public/Event+Receivers" target="_new">SharePoint Dev Wiki: Event Receivers</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. List Event Handler</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Creates a ListEventHandler.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Event Handler settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Used as the class name of the event handler.</td>
							</tr>                
														<tr>
								<td>List Template</td>
								<td>Optional Text. Specifies the index of the list template to which the event receiver applies. The following values are the default list template types.</td>
							</tr>                
														<tr>
								<td>List Template Owner</td>
								<td>Optional GUID. Specifies the GUID of the list template owner if the list template is registered via Features, or the name of the site definition if the list template is registered by a site definition.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Number. Specifies the order to use for the event registration when more than one handler is associated with the feature.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Registrations</td>
							</tr>                
														<tr>
								<td>Event Types</td>
								<td>Select the event elements.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Settings</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. True if the event receiver applies only to the root Web; otherwise, False.</td>
							</tr>                
														<tr>
								<td>Scope</td>
								<td>Optional enumeration. The scope of the event receiver. This can be Site or Web. When the Scope attribute is set to Site, event receivers that are defined inside of a Feature that is scoped to the site collection are registered at the site collection level. When the Scope attribute is set to Web, event receivers that are defined inside of a Feature that is scoped to a Web are registered on the Web.</td>
							</tr>                
														<tr>
								<td>Synchronization</td>
								<td>Specifies the synchronization of the event receiver.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms460929.aspx" target="_new">MSDN: Event Registrations</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/aa979520.aspx" target="_new">MSDN: Event Troubleshooting</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms462433.aspx" target="_new">MSDN: Walkthrough: Handling Document Library Events</a>
					</li>
					<li>
						<a href="http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?ID=69" target="_new">Dave Hunter's SharePoint Blog: Delving into SharePoint 2007 Event Receivers</a>
					</li>
					<li>
						<a href="http://sharepointdevwiki.com/display/public/Event+Receivers" target="_new">SharePoint Dev Wiki: Event Receivers</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Web Event Handler</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Event handlers for sites and webs must be registered with a feature receiver
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Event Handler settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Used as the class name of the event handler.</td>
							</tr>                
														<tr>
								<td>List Template</td>
								<td>Optional Text. Specifies the index of the list template to which the event receiver applies. The following values are the default list template types.</td>
							</tr>                
														<tr>
								<td>List Template Owner</td>
								<td>Optional GUID. Specifies the GUID of the list template owner if the list template is registered via Features, or the name of the site definition if the list template is registered by a site definition.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Number. Specifies the order to use for the event registration when more than one handler is associated with the feature.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Registrations</td>
							</tr>                
														<tr>
								<td>Event Types</td>
								<td>Select the event elements.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Settings</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. True if the event receiver applies only to the root Web; otherwise, False.</td>
							</tr>                
														<tr>
								<td>Scope</td>
								<td>Optional enumeration. The scope of the event receiver. This can be Site or Web. When the Scope attribute is set to Site, event receivers that are defined inside of a Feature that is scoped to the site collection are registered at the site collection level. When the Scope attribute is set to Web, event receivers that are defined inside of a Feature that is scoped to a Web are registered on the Web.</td>
							</tr>                
														<tr>
								<td>Synchronization</td>
								<td>Specifies the synchronization of the event receiver.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms460929.aspx" target="_new">MSDN: Event Registrations</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/aa979520.aspx" target="_new">MSDN: Event Troubleshooting</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms462433.aspx" target="_new">MSDN: Walkthrough: Handling Document Library Events</a>
					</li>
					<li>
						<a href="http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?ID=69" target="_new">Dave Hunter's SharePoint Blog: Delving into SharePoint 2007 Event Receivers</a>
					</li>
					<li>
						<a href="http://sharepointdevwiki.com/display/public/Event+Receivers" target="_new">SharePoint Dev Wiki: Event Receivers</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Email Event Handler</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Debugging of email events requires attaching to ows timer service.<br />    After changing code the ows timer needs to be restarted. IISReset will not load new assembly to ows timer.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Event Handler settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Used as the class name of the event handler.</td>
							</tr>                
														<tr>
								<td>List Template</td>
								<td>Optional Text. Specifies the index of the list template to which the event receiver applies. The following values are the default list template types.</td>
							</tr>                
														<tr>
								<td>List Template Owner</td>
								<td>Optional GUID. Specifies the GUID of the list template owner if the list template is registered via Features, or the name of the site definition if the list template is registered by a site definition.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Required Number. Specifies the order to use for the event registration when more than one handler is associated with the feature.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Registrations</td>
							</tr>                
														<tr>
								<td>Event Types</td>
								<td>Select the event elements.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Optional Settings</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. True if the event receiver applies only to the root Web; otherwise, False.</td>
							</tr>                
														<tr>
								<td>Scope</td>
								<td>Optional enumeration. The scope of the event receiver. This can be Site or Web. When the Scope attribute is set to Site, event receivers that are defined inside of a Feature that is scoped to the site collection are registered at the site collection level. When the Scope attribute is set to Web, event receivers that are defined inside of a Feature that is scoped to a Web are registered on the Web.</td>
							</tr>                
														<tr>
								<td>Synchronization</td>
								<td>Specifies the synchronization of the event receiver.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms460929.aspx" target="_new">MSDN: Event Registrations</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/aa979520.aspx" target="_new">MSDN: Event Troubleshooting</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms462433.aspx" target="_new">MSDN: Walkthrough: Handling Document Library Events</a>
					</li>
					<li>
						<a href="http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?ID=69" target="_new">Dave Hunter's SharePoint Blog: Delving into SharePoint 2007 Event Receivers</a>
					</li>
					<li>
						<a href="http://sharepointdevwiki.com/display/public/Event+Receivers" target="_new">SharePoint Dev Wiki: Event Receivers</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.6. WebParts</h3>
			Contains recipes for Webpart samples
			<h4>2.1.1.5. SharePoint Web Part</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Web Parts are server-side controls that run inside the context of special pages (that is, Web Part Pages) within an ASP.NET application or a Windows SharePoint Services site.<br />They are the "building blocks" of pages in Windows SharePoint Services. <br />Windows SharePoint Services includes built-in Web Parts that you can use as soon as you have installed the product.<br />In addition, you can build your own Web Parts and deploy them to the server. (MSDN)
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Web Part Information</td>
							</tr>                
														<tr>
								<td>Web Part Name</td>
								<td>Enter the name of the web part. The name will be used for the class name (.cs).</td>
							</tr>                
														<tr>
								<td>Web Part Title</td>
								<td>Enter the title of the web part (displayed in the web part gallery as web part title).</td>
							</tr>                
														<tr>
								<td>Web Part Description</td>
								<td>Enter the description of the web part (displayed in the web part gallery as web part description).</td>
							</tr>                
														<tr>
								<td>Group</td>
								<td>Enter the group in which the web part should appear in web part gallery.</td>
							</tr>                
														<tr>
								<td>QuickAdd Group</td>
								<td>Enter the quick add group in which the web part should appear when the user wants to add a web part to a page.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms432401.aspx" target="_new">MSDN: Web Parts Overview</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms452873.aspx" target="_new">MSDN: Walkthrough: Creating a Basic SharePoint Web Part</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms469765.aspx" target="_new">MSDN: Walkthrough: Creating Connectable Web Parts in Windows SharePoint Services</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. ASP Web Part</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Adds a web part to the project derived from System.Web.UI.WebControls.WebParts.WebPart.<br />Creating this kind of webpart allows reuse in non-SharePoint ASP WebPages, but also lacks the SharePoint specific additions, like caching.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Web Part Information</td>
							</tr>                
														<tr>
								<td>Web Part Name</td>
								<td>Enter the name of the web part. The name will be used for the class name (.cs).</td>
							</tr>                
														<tr>
								<td>Web Part Title</td>
								<td>Enter the title of the web part (displayed in the web part gallery as web part title).</td>
							</tr>                
														<tr>
								<td>Web Part Description</td>
								<td>Enter the description of the web part (displayed in the web part gallery as web part description).</td>
							</tr>                
														<tr>
								<td>Group</td>
								<td>Enter the group in which the web part should appear in web part gallery.</td>
							</tr>                
														<tr>
								<td>QuickAdd Group</td>
								<td>Enter the quick add group in which the web part should appear when the user wants to add a web part to a page.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms432401.aspx" target="_new">MSDN: Web Parts Overview</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms415817.aspx" target="_new">MSDN: Walkthrough: Creating a Basic Web Part</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms469765.aspx" target="_new">MSDN Walkthrough: Creating Connectable Web Parts in Windows SharePoint Services</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.7. Visual Web Part</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Creates a new webpart based on the SmartPart project.<br />The SharePoint web part which can host any ASP.NET web user control.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Web Part Information</td>
							</tr>                
														<tr>
								<td>Web Part Name</td>
								<td>Enter the name of the web part. The name will be used for the class name (.cs).</td>
							</tr>                
														<tr>
								<td>Web Part Title</td>
								<td>Enter the title of the web part (displayed in the web part gallery as web part title).</td>
							</tr>                
														<tr>
								<td>Web Part Description</td>
								<td>Enter the description of the web part (displayed in the web part gallery as web part description).</td>
							</tr>                
														<tr>
								<td>Group</td>
								<td>Enter the group in which the web part should appear in web part gallery.</td>
							</tr>                
														<tr>
								<td>QuickAdd Group</td>
								<td>Enter the quick add group in which the web part should appear when the user wants to add a web part to a page.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://www.dotnetmonster.com/Uwe/Forum.aspx/dotnet-security/2519/SecurityException-Request-failed-in-LoadControl" target="_new">Issues with LoadControl</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Sample: Ajax Web Part</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        This recipe adsda an Ajax enabled webpart to your project.<br />Postback will be handled without loading the entire page.<br />Note: AJAX.net has to be installed on the server.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Web Part Information</td>
							</tr>                
														<tr>
								<td>Web Part Name</td>
								<td>Enter the name of the web part. The name will be used for the class name (.cs).</td>
							</tr>                
														<tr>
								<td>Web Part Title</td>
								<td>Enter the title of the web part (displayed in the web part gallery as web part title).</td>
							</tr>                
														<tr>
								<td>Web Part Description</td>
								<td>Enter the description of the web part (displayed in the web part gallery as web part description).</td>
							</tr>                
														<tr>
								<td>Group</td>
								<td>Enter the group in which the web part should appear in web part gallery.</td>
							</tr>                
														<tr>
								<td>QuickAdd Group</td>
								<td>Enter the quick add group in which the web part should appear when the user wants to add a web part to a page.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms432401.aspx" target="_new">MSDN: Web Parts Overview</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/bb861881.aspx" target="_new">MSDN: ASP.NET AJAX in Windows SharePoint Services</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/bb861877.aspx" target="_new">MSDN: Walkthrough: Creating a Basic ASP.NET AJAX-enabled Web Part</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. Sample: Simple Filter Consumer Web Part</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Windows SharePoint Services 3.0 uses the ASP.NET Web Part connection framework to connect Web Parts to each other programmatically.<br />Filter Web Parts use this connectivity support to provide filter criteria to other Web Parts.<br />Developers can now allow users to provide search or filter criteria.<br />Web Part connections are based on the concepts of "providers" and "consumers." <br />A provider Web Part supplies information to one or more consumer Web Parts through a programmatic interface. (MSDN)
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Web Part Information</td>
							</tr>                
														<tr>
								<td>Web Part Name</td>
								<td>Enter the name of the web part. The name will be used for the class name (.cs).</td>
							</tr>                
														<tr>
								<td>Web Part Title</td>
								<td>Enter the title of the web part (displayed in the web part gallery as web part title).</td>
							</tr>                
														<tr>
								<td>Web Part Description</td>
								<td>Enter the description of the web part (displayed in the web part gallery as web part description).</td>
							</tr>                
														<tr>
								<td>Group</td>
								<td>Enter the group in which the web part should appear in web part gallery.</td>
							</tr>                
														<tr>
								<td>QuickAdd Group</td>
								<td>Enter the quick add group in which the web part should appear when the user wants to add a web part to a page.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms494838.aspx" target="_new">MSDN: Filter Web Parts Overview</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms569191.aspx" target="_new">MSDN: Walkthrough: Writing a Simple Filter Consumer Web Part Sample</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Sample: Filter Consumer Web Part</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Windows SharePoint Services 3.0 uses the ASP.NET Web Part connection framework to connect Web Parts to each other programmatically.<br />Filter Web Parts use this connectivity support to provide filter criteria to other Web Parts.<br />Developers can now allow users to provide search or filter criteria. <br />Web Part connections are based on the concepts of "providers" and "consumers."<br />A provider Web Part supplies information to one or more consumer Web Parts through a programmatic interface. (MSDN)
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Web Part Information</td>
							</tr>                
														<tr>
								<td>Web Part Name</td>
								<td>Enter the name of the web part. The name will be used for the class name (.cs).</td>
							</tr>                
														<tr>
								<td>Web Part Title</td>
								<td>Enter the title of the web part (displayed in the web part gallery as web part title).</td>
							</tr>                
														<tr>
								<td>Web Part Description</td>
								<td>Enter the description of the web part (displayed in the web part gallery as web part description).</td>
							</tr>                
														<tr>
								<td>Group</td>
								<td>Enter the group in which the web part should appear in web part gallery.</td>
							</tr>                
														<tr>
								<td>QuickAdd Group</td>
								<td>Enter the quick add group in which the web part should appear when the user wants to add a web part to a page.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms546216.aspx" target="_new">MSDN: How to: Consume the Multi-Select CheckBox Filter Web Part</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Sample: Filter Provider Web Part</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Windows SharePoint Services 3.0 uses the ASP.NET Web Part connection framework to connect Web Parts to each other programmatically.<br />Filter Web Parts use this connectivity support to provide filter criteria to other Web Parts.<br />Developers can now allow users to provide search or filter criteria.<br />Web Part connections are based on the concepts of "providers" and "consumers." <br />A provider Web Part supplies information to one or more consumer Web Parts through a programmatic interface. (MSDN)
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Web Part Information</td>
							</tr>                
														<tr>
								<td>Web Part Name</td>
								<td>Enter the name of the web part. The name will be used for the class name (.cs).</td>
							</tr>                
														<tr>
								<td>Web Part Title</td>
								<td>Enter the title of the web part (displayed in the web part gallery as web part title).</td>
							</tr>                
														<tr>
								<td>Web Part Description</td>
								<td>Enter the description of the web part (displayed in the web part gallery as web part description).</td>
							</tr>                
														<tr>
								<td>Group</td>
								<td>Enter the group in which the web part should appear in web part gallery.</td>
							</tr>                
														<tr>
								<td>QuickAdd Group</td>
								<td>Enter the quick add group in which the web part should appear when the user wants to add a web part to a page.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms499375.aspx" target="_new">MSDN: How to: Write a Multi-Select CheckBox Filter Web Part</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.7. Field Types</h3>
			Contains several examples for custom field types
			<h4>2.1.1.1. Field Type</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        As you store your business information in Windows SharePoint Services 3.0, you may encounter instances where your important business data does not conform to the field types included in Windows SharePoint Services, or situations where you want to further customize those general field types. <br />    Windows SharePoint Services enables you to create custom field types. <br />    These custom fields can include custom data validation and custom field rendering. <br />    You can also customize the way that variable properties of your custom field types are processed and rendered when users set property variables and create new columns that are based on your custom field type.<br /><br />    This recipe adds a simple Field Type to your project.<br />    
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Field Type Name</td>
								<td>Required Text. Name of the Field Type. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Parent Type</td>
								<td>Required Type. The parent field type from which this type will inherit.</td>
							</tr>                
														<tr>
								<td>Display Name</td>
								<td>Required Text. The display name for this field type.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description about the purpose of the field type (will be displayed in "Create Column" next to the field selector).</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms446361.aspx" target="_new">MSDN: Custom Field Types</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms472859.aspx" target="_new">MSDN: Custom Field Type Property Rendering</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/bb802857.aspx" target="_new">MSDN: Editor Controls for Field Type Properties</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms415141.aspx" target="_new">MSDN: Custom Field Type Definition</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms441150.aspx" target="_new">MSDN: Custom Field Classes</a>
					</li>
					<li>
						<a href="http://blogs.catapultsystems.com/tlingenfelder/archive/2009/07/23/overview-of-custom-field-types-in-wss-3-0.aspx" target="_new">Travis Lingenfelder: Overview of Custom Field Types in WSS 3.0</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Sample: Field Type with Complex Value</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        As you store your business information in Windows SharePoint Services 3.0, you may encounter instances where your important business data does not conform to the field types included in Windows SharePoint Services, or situations where you want to further customize those general field types.<br />    Windows SharePoint Services enables you to create custom field types. <br />    These custom fields can include custom data validation and custom field rendering. <br />    You can also customize the way that variable properties of your custom field types are processed and rendered when users set property variables and create new columns that are based on your custom field type.<br /><br />    This recipe adds a MultiColumn Field Type to your project.
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeComplexValue/200_FieldInEditForm.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Field Type Name</td>
								<td>Required Text. Name of the Field Type. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description about the purpose of the field type (will be displayed in "Create Column" next to the field selector).</td>
							</tr>                
														<tr>
								<td>Display Name in column 'Type'</td>
								<td>Required Text. The display name for this field type.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms446361.aspx" target="_new">MSDN: Custom Field Types</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms472859.aspx" target="_new">MSDN: Custom Field Type Property Rendering</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/bb802857.aspx" target="_new">MSDN: Editor Controls for Field Type Properties</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms415141.aspx" target="_new">MSDN: Custom Field Type Definition</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms441150.aspx" target="_new">MSDN: Custom Field Classes</a>
					</li>
					<li>
						<a href="http://blogs.catapultsystems.com/tlingenfelder/archive/2009/07/23/overview-of-custom-field-types-in-wss-3-0.aspx" target="_new">Travis Lingenfelder: Overview of Custom Field Types in WSS 3.0</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. Sample: Field Type with Multiple Columns</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        As you store your business information in Windows SharePoint Services 3.0, you may encounter instances where your important business data does not conform to the field types included in Windows SharePoint Services, or situations where you want to further customize those general field types.<br />Windows SharePoint Services enables you to create custom field types.<br />These custom fields can include custom data validation and custom field rendering.<br />You can also customize the way that variable properties of your custom field types are processed and rendered when users set property variables and create new columns that are based on your custom field type.<br /><br />This recipe adds a simple Field Type to your project.
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeMultiColumn/100_Field.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeMultiColumn/200_FieldInEditForm.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Field Type Name</td>
								<td>Required Text. Name of the Field Type. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description about the purpose of the field type (will be displayed in "Create Column" next to the field selector).</td>
							</tr>                
														<tr>
								<td>Display Name in column 'Type'</td>
								<td>Required Text. The display name for this field type.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms446361.aspx" target="_new">MSDN: Custom Field Types</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms472859.aspx" target="_new">MSDN: Custom Field Type Property Rendering</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/bb802857.aspx" target="_new">MSDN: Editor Controls for Field Type Properties</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms415141.aspx" target="_new">MSDN: Custom Field Type Definition</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms441150.aspx" target="_new">MSDN: Custom Field Classes</a>
					</li>
					<li>
						<a href="http://blogs.catapultsystems.com/tlingenfelder/archive/2009/07/23/overview-of-custom-field-types-in-wss-3-0.aspx" target="_new">Travis Lingenfelder: Overview of Custom Field Types in WSS 3.0</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Sample: Field Type with Status Choice</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        As you store your business information in Windows SharePoint Services 3.0, you may encounter instances where your important business data does not conform to the field types included in Windows SharePoint Services, or situations where you want to further customize those general field types<br />    Windows SharePoint Services enables you to create custom field types.<br />    These custom fields can include custom data validation and custom field rendering.<br />    You can also customize the way that variable properties of your custom field types are processed and rendered when users set property variables and create new columns that are based on your custom field type.<br />  <br />    This recipe adds a simple Field Type to your project.
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeChoice/100_Screen.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeChoice/200_FieldInEditForm.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Field Type Name</td>
								<td>Required Text. Name of the Field Type. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description about the purpose of the field type (will be displayed in "Create Column" next to the field selector).</td>
							</tr>                
														<tr>
								<td>Display Name in column 'Type'</td>
								<td>Required Text. The display name for this field type.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/de-de/magazine/dd727508%28en-us%29.aspx" target="_new">MSDN: Custom Field Types for SharePoint 2007 by Ted Pattison</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Sample: Field Type for ISBN10</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        As you store your business information in Windows SharePoint Services 3.0, you may encounter instances where your important business data does not conform to the field types included in Windows SharePoint Services, or situations where you want to further customize those general field types.<br />Windows SharePoint Services enables you to create custom field types.<br />These custom fields can include custom data validation and custom field rendering.<br />You can also customize the way that variable properties of your custom field types are processed and rendered when users set property variables and create new columns that are based on your custom field type.<br /><br />This recipe adds a simple Field Type to your project.
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeISBN10/200_Field.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeISBN10/300_Field.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Field Type Name</td>
								<td>Required Text. Name of the Field Type. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description about the purpose of the field type (will be displayed in "Create Column" next to the field selector).</td>
							</tr>                
														<tr>
								<td>Display Name in column 'Type'</td>
								<td>Required Text. The display name for this field type.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/de-de/magazine/dd727508%28en-us%29.aspx" target="_new">MSDN: Custom Field Types for SharePoint 2007 by Ted Pattison</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.8. Sample: Field Type for Social Security Number</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        As you store your business information in Windows SharePoint Services 3.0, you may encounter instances where your important business data does not conform to the field types included in Windows SharePoint Services, or situations where you want to further customize those general field types. <br />    Windows SharePoint Services enables you to create custom field types.<br />    These custom fields can include custom data validation and custom field rendering.<br />    You can also customize the way that variable properties of your custom field types are processed and rendered when users set property variables and create new columns that are based on your custom field type.<br /><br />    This recipe adds a simple Field Type to your project.<br />    
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeSSN/200_FieldInEditForm.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Field Type Name</td>
								<td>Required Text. Name of the Field Type. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description about the purpose of the field type (will be displayed in "Create Column" next to the field selector).</td>
							</tr>                
														<tr>
								<td>Display Name in column 'Type'</td>
								<td>Required Text. The display name for this field type.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms446361.aspx" target="_new">MSDN: Custom Field Types</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms472859.aspx" target="_new">MSDN: Custom Field Type Property Rendering</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/bb802857.aspx" target="_new">MSDN: Editor Controls for Field Type Properties</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms415141.aspx" target="_new">MSDN: Custom Field Type Definition</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms441150.aspx" target="_new">MSDN: Custom Field Classes</a>
					</li>
					<li>
						<a href="http://blogs.catapultsystems.com/tlingenfelder/archive/2009/07/23/overview-of-custom-field-types-in-wss-3-0.aspx" target="_new">Travis Lingenfelder: Overview of Custom Field Types in WSS 3.0</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Sample: Field Type for Flash Movie</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        As you store your business information in Windows SharePoint Services 3.0, you may encounter instances where your important business data does not conform to the field types included in Windows SharePoint Services, or situations where you want to further customize those general field types. <br />    Windows SharePoint Services enables you to create custom field types.<br />    These custom fields can include custom data validation and custom field rendering.<br />    You can also customize the way that variable properties of your custom field types are processed and rendered when users set property variables and create new columns that are based on your custom field type.<br /><br />    This recipe adds a simple Field Type to your project.
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeFlash/200_FieldInEditForm.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Field Type Name</td>
								<td>Required Text. Name of the Field Type. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description about the purpose of the field type (will be displayed in "Create Column" next to the field selector).</td>
							</tr>                
														<tr>
								<td>Display Name in column 'Type'</td>
								<td>Required Text. The display name for this field type.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/de-de/magazine/dd727508%28en-us%29.aspx" target="_new">MSDN: Custom Field Types for SharePoint 2007 by Ted Pattison</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.7. Sample: Field Type for Ratings</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        As you store your business information in Windows SharePoint Services 3.0, you may encounter instances where your important business data does not conform to the field types included in Windows SharePoint Services, or situations where you want to further customize those general field types. <br />    Windows SharePoint Services enables you to create custom field types. <br />    These custom fields can include custom data validation and custom field rendering. <br />    You can also customize the way that variable properties of your custom field types are processed and rendered when users set property variables and create new columns that are based on your custom field type.<br /><br />    This recipe adds a simple Field Type to your project.<br />    
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeRatings/100_RatingEdit.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeRatings/200_RatingDisplay.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeRatings/300_FieldInEditForm.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/FieldTypeRatings/400_FieldInViewForm.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Field Type Name</td>
								<td>Required Text. Name of the Field Type. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description about the purpose of the field type (will be displayed in "Create Column" next to the field selector).</td>
							</tr>                
														<tr>
								<td>Display Name in column 'Type'</td>
								<td>Required Text. The display name for this field type.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/de-de/magazine/dd727508%28en-us%29.aspx" target="_new">MSDN: Custom Field Types for SharePoint 2007 by Ted Pattison</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.8. Publishing</h3>
			Contains recipes for Web Content Management
			<h4>2.1.1.3. Publishing Site Definition</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The publishing site definition creates a site with the publishing infrastructure and publishing site feature enabled and provides functionalities for web content management.<br />It creates three features which are required to activate the several components of the publishing site.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Site Template settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specify the name of the folder which will be created in folder SiteTemplates. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title of the site template as it appears in the selection of Create Site dialog. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td>ID</td>
								<td>Required Number. Id of the site template. Should be unique on the farm and greater than 10000.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required Text. Longer description of the purpose of this site definition.</td>
							</tr>                
														<tr>
								<td>Display Category</td>
								<td>Required Text. Title of the cateogry in which the site definition should appear in the Create Site dialog. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Master Page Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Name of the Master Page. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title (friendly name) of the Page Layout. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Description of the Master Page.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Page Layout Settings</td>
							</tr>                
														<tr>
								<td>Page Layout Content Type</td>
								<td>Required Content Type. Content Type of this Page Layout.</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Name of the Page Layout class file. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title (friendly name) of the Page Layout. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Description of the Page Layout.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Options</td>
							</tr>                
														<tr>
								<td>Create Provisioning XML</td>
								<td>Optional Boolean. If TRUE creates a file named Portal.XML with XML data for the creation of subsites after provisioning this site template.</td>
							</tr>                
														<tr>
								<td>Create Provisioning Handler (.cs)</td>
								<td>Optional Boolean. If TRUE creates a cs.file for handling the event of provisioning.</td>
							</tr>                
														<tr>
								<td>Hidden</td>
								<td>Optional Boolean. If TRUE hides the site definition from the Create Site dialog. Creation of sites with this definition through code will be still possible.</td>
							</tr>                
														<tr>
								<td>Allow global Feature associations</td>
								<td>Optional Boolean. If TRUE the site definition is allowed to be associated to global features.</td>
							</tr>                
														<tr>
								<td>Root Web Only</td>
								<td>Optional Boolean. If TRUE the site created from the configuration can only exist as the root Web site in a site collection. This attribute is not enforced in site templates (.stp files).</td>
							</tr>                
														<tr>
								<td>Sub Web Only</td>
								<td>Optional Boolean. If TRUE tthe site created from the configuration can only exist as a subsite within a site collection.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://dotnet.sys-con.com/node/48162?page=0,0" target="_new">.Net Journal: Creating Custom Site Definitions in Microsoft Windows SharePoint Services</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee354191.aspx" target="_new">MSDN: Real World Branding with SharePoint Server 2007 Publishing Sites </a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms476942.aspx" target="_new">MSDN: Configuration Node</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms474369.aspx" target="_new">MSDN: Schema Onet.xml</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Master Page</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/MasterPage/100_MasterPage.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Master Page Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Name of the Master Page. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title (friendly name) of the Master Page. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Description of the Master Page.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms543497.aspx" target="_new">MSDN: Page Layouts and Master Pages</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.pagelayout.aspx" target="_new">MSDN: Page Layout Class</a>
					</li>
					<li>
						<a href="http://www.heathersolomon.com/blog/articles/MOSS07DesignComponents.aspx" target="_new">Heather Solomon: MOSS 2007 Design Component Relationships and Diagrams</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Page Layout</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe creates a page layout, which can be made available in a publising site for a specific content type (i.e. news). <br />Page layouts dictate, along with master pages, the overall look and feel of your SharePoint Publishing site. <br />Master pages contain controls that are shared across multiple page layouts, such as navigation, search, or language-preference for multilingual sites. <br />Page layouts contain field controls and Web Parts.
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/PageLayout/100_PageLayout.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Page Layout Settings</td>
							</tr>                
														<tr>
								<td>Page Layout Content Type</td>
								<td>Required Content Type. Content Type of this Page Layout.</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Name of the Page Layout class file. Limited to 255 characters. The name has to be unique within the project of this solution. It should not contain whitespaces or special characters.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title (friendly name) of the Page Layout. Limited to 255 characters.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Description of the Page Layout.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms543497.aspx" target="_new">MSDN: Page Layouts and Master Pages</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.pagelayout.aspx" target="_new">MSDN: Page Layout Class</a>
					</li>
					<li>
						<a href="http://www.heathersolomon.com/blog/articles/MOSS07DesignComponents.aspx" target="_new">Heather Solomon: MOSS 2007 Design Component Relationships and Diagrams</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.9. Import</h3>
			Contains recipes to import external content into the project
			<h4>2.1.1.2. Import .wsp solution</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        This recipes imports a single .wsp file from the local system into an existing project. To run the recipe an existing customization project is needed.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>WSP File</td>
								<td>Select the wsp file to be imported into the current project</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Import .wsp solution from local farm</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        This recipes imports a single .wsp file from the local SharePoint farm into an existing project. To run the recipe an existing customization project is needed.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>WSP Solution</td>
								<td>Select the wsp from the local farm for the import</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Import Content Type</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Content Type Settings</td>
							</tr>                
														<tr>
								<td>ID</td>
								<td>Required Text. Specifies the content type ID of the content type.</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the content type name.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Provides a description for the content type, to display in the Windows SharePoint Services user interface.</td>
							</tr>                
														<tr>
								<td>Group</td>
								<td>Optional Text. Specifies the content type group to which the content type is assigned. Content type groups are user-defined groups that help you organize your columns into logical categories.</td>
							</tr>                
														<tr>
								<td>Version</td>
								<td>Reserved for future use.</td>
							</tr>                
														<tr>
								<td>Hidden</td>
								<td>Optional Boolean. TRUE to define the content type as hidden. If you define a content type as hidden, Windows SharePoint Services does not display that content type on the New button in list views. If you do not include this attribute, Windows SharePoint Services treats the content type as if this attributes was set to FALSE.</td>
							</tr>                
														<tr>
								<td>Read Only</td>
								<td>Optional Boolean. TRUE to define the content type as read-only. If you do not include this attribute, Windows SharePoint Services treats the content type as if this attributes was set to FALSE.</td>
							</tr>                
														<tr>
								<td>Sealed</td>
								<td>Optional Boolean. TRUE to define the content type as sealed. You must have site collection administrator rights to unseal and edit a content type defined as sealed. If you do not include this attribute, Windows SharePoint Services treats the content type as if this attributes was set to FALSE.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. Import Site Column</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Site Column Settings</td>
							</tr>                
														<tr>
								<td>ID</td>
								<td></td>
							</tr>                
														<tr>
								<td>Name</td>
								<td></td>
							</tr>                
														<tr>
								<td>Display Name</td>
								<td></td>
							</tr>                
														<tr>
								<td>Description</td>
								<td></td>
							</tr>                
														<tr>
								<td>Group</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Import List Definition</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">List Template Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the internal name of the list definition. No spaces or special characters can be used. This name is also used to find the folder that contains the Schema.xml file that defines the schema in use.</td>
							</tr>                
														<tr>
								<td>DisplayName</td>
								<td>Required Text. Specifies the display name of the list definition.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Provides a description of the list definition.</td>
							</tr>                
														<tr>
								<td>Type</td>
								<td>Optional Integer. Provides a unique identifier for the template. This identifier must be unique within the feature, but need not be unique across all feature definitions or site definitions. </td>
							</tr>                
														<tr>
								<td>Category</td>
								<td>Optional Text. Specifies the category with which to associate lists created through the list definition.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the ordering priority to use for the list template on the Create page. If Sequence is not set, the template appears last in arbitrary order with any other templates that also lack a Sequence value. Two templates that specify the same sequence are sorted together in an arbitrary order.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Options</td>
							</tr>                
														<tr>
								<td>Default in new sites</td>
								<td>Optional Boolean. TRUE to specify that new SharePoint sites will include this list.</td>
							</tr>                
														<tr>
								<td>OnQuickLaunch</td>
								<td>Optional Boolean. TRUE to display lists created from the list definition on the QuickLaunch bar.</td>
							</tr>                
														<tr>
								<td>DisableAttachments</td>
								<td>Optional Boolean. TRUE to specify that users can attach files to items in lists created through the template; otherwise, FALSE.</td>
							</tr>                
														<tr>
								<td>DisallowContentTypes</td>
								<td>Optional Boolean. TRUE to specify that content types can be managed on lists created through the template; otherwise, FALSE.</td>
							</tr>                
														<tr>
								<td>VersioningEnabled</td>
								<td>Optional Boolean. TRUE to specify that versioning is enabled by default in lists created through the template; otherwise, FALSE.</td>
							</tr>                
														<tr>
								<td>FolderCreation</td>
								<td>Optional Boolean. TRUE to enable folder creation within the list and to specify that the New Folder command appears on the New menu in list views; otherwise, FALSE.</td>
							</tr>                
														<tr>
								<td>EnableModeration</td>
								<td>Optional Boolean. TRUE to specify that content approval is enabled by default in lists created through the template; otherwise, FALSE.</td>
							</tr>                
														<tr>
								<td>Hidden</td>
								<td>Optional Boolean. TRUE to specify that the list definition is not available on the Create page for creating lists.</td>
							</tr>                
														<tr>
								<td>HiddenList</td>
								<td>Optional Boolean. TRUE to specify that a list created from the list definition is hidden.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced</td>
							</tr>                
														<tr>
								<td>Security Read</td>
								<td>Optional Text. Defines the item-level permissions in the list for users with sufficient permission to read or edit list items. The SecurityBits attribute contains a 2-digit string. The first digit in the string controls the read access; the second digit in the string controls the edit access.</td>
							</tr>                
														<tr>
								<td>Security Edit</td>
								<td>Optional Text. Defines the item-level permissions in the list for users with sufficient permission to read or edit list items. The SecurityBits attribute contains a 2-digit string. The first digit in the string controls the read access; the second digit in the string controls the edit access.</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Optional URL. Specifies a URL to an icon used to represent a list.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Import List Instance</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">List Instance Settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title of the list in the schema.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Contains a description of the list.</td>
							</tr>                
														<tr>
								<td>Url</td>
								<td>Required Text. Returns the site-relative URL at which to place the list.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Options</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. TRUE to specify that the list created from the definition exists only in the root Web site of a site collection.</td>
							</tr>                
														<tr>
								<td>OnQuickLaunch</td>
								<td>Optional Boolean. TRUE to display lists created from the list definition on the Quick Launch bar.</td>
							</tr>                
														<tr>
								<td>QuickLaunchUrl</td>
								<td>Optional Text. Specifies the URL of the view page to open for the list through Quick Launch navigation.</td>
							</tr>                
														<tr>
								<td>Id</td>
								<td>Required Text. Specifies a unique identifier for the list instance. The integer must be unique across the Feature definition.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.10. Application Pages</h3>
			Contains recipes to create typical application pages (e.g. in /_layouts/ folder)
			<h4>2.1.1.3. Unrestricted Layouts Page</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/UnsecuredApplicationPage/100_Result2010.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/UnsecuredApplicationPage/150_Result2007.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/UnsecuredApplicationPage/200_OpenInBrowser.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Page Name</td>
								<td>Enter name of the application page without extension (.aspx)</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Enter the title of page (displayed on top of the page and in the title of the html).</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Enter the description of page (displayed on top of the page).</td>
							</tr>                
														<tr>
								<td>Allow Anonymous Access</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms463449.aspx" target="_new">UnsecuredApplicationPage</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Application Page</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/ApplicationPage/100_Result2010.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/ApplicationPage/150_Result2007.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Name</td>
								<td>Enter the name of the application page (without .aspx).</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Enter the title of page (displayed on top of the page and in the title of the html).</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Enter the description of page (displayed on top of the page).</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms463449.aspx" target="_new">ApplicationPage</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Administration Page</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/AdministrationPage/100_Result2010.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/AdministrationPage/150_Result2007.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Name</td>
								<td>Enter the name of the application page (without .aspx).</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Enter the title of page (displayed on top of the page and in the title of the html).</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Enter the description of page (displayed on top of the page).</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms463449.aspx" target="_new">AdministrationPage</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.11. ASP.NET</h3>
			Contains recipes for general ASP.NET (non-SharePoint) artefacts
			<h4>2.1.1.8. Create WSDL and DISCO</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/WebServiceWSDL/100_CreateWSDL.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/WebServiceWSDL/200_CreatedWSDLFiles.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.7. ASMX Webservice</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/WebService/100_CreateWSDL.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/WebService/200_CreatedWSDLFiles.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/WebService/300_OpenWebService.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/WebService/400_InBrowser.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Name</td>
								<td>Required String. Enter the name of the web service.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required String. Enter the description of the web service.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms464040.aspx" target="_new">MSDN: Walkthrough: Creating a Custom Web Service</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. WCF Webservice</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Name</td>
								<td>Required String. Enter the name of the web service.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required String. Enter the description of the web service.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff521581.aspx" target="_new">MSDN: Creating a Custom WCF Service in SharePoint Foundation</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Administration Web Service</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Name</td>
								<td>Required String. Enter the name of the web service.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required String. Enter the description of the web service.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms464040.aspx" target="_new">MSDN: Walkthrough: Creating a Custom Web Service</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Delegate Control (.ASCX)</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                            * AdditionalPageHead<br />    * GlobalSiteLink0<br />    * GlobalSiteLink1<br />    * GlobalSiteLink2<br />    * SmallSearchInputBox<br />    * TopNavigationDataSource<br />    * PublishingConsole<br />    * QuickLaunchDataSource 
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Delegate Control Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the name of the control.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the sequence number for the control, which determines whether the control is added to the control tree for a page. The control with the lowest sequence number is added to the tree.</td>
							</tr>                
														<tr>
								<td>Id</td>
								<td>Optional Text. Specifies the ID of the control, for example, "SmallSearchInputBox".</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms469179.aspx" target="_new">MSDN: Control Element (Delegate Control)</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms470880.aspx" target="_new">MSDN: How to: Customize a Delegate Control</a>
					</li>
					<li>
						<a href="http://www.mtelligent.com/journal/2008/1/11/using-the-delegate-control-to-add-meta-tags-to-sharepoint-pa.html" target="_new">Using the Delegate Control to Add Meta Tags to SharePoint Pages</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Delegate Control (.CS)</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                            * AdditionalPageHead<br />    * GlobalSiteLink0<br />    * GlobalSiteLink1<br />    * GlobalSiteLink2<br />    * SmallSearchInputBox<br />    * TopNavigationDataSource<br />    * PublishingConsole<br />    * QuickLaunchDataSource 
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Delegate Control Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the name of the control.</td>
							</tr>                
														<tr>
								<td>Sequence</td>
								<td>Optional Integer. Specifies the sequence number for the control, which determines whether the control is added to the control tree for a page. The control with the lowest sequence number is added to the tree.</td>
							</tr>                
														<tr>
								<td>Id</td>
								<td>Optional Text. Specifies the ID of the control, for example, "SmallSearchInputBox".</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms469179.aspx" target="_new">MSDN: Control Element (Delegate Control)</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ms470880.aspx" target="_new">MSDN: How to: Customize a Delegate Control</a>
					</li>
					<li>
						<a href="http://www.mtelligent.com/journal/2008/1/11/using-the-delegate-control-to-add-meta-tags-to-sharepoint-pa.html" target="_new">Using the Delegate Control to Add Meta Tags to SharePoint Pages</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Http Handler</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">HttpHandler Settings</td>
							</tr>                
														<tr>
								<td>Http Handler Name</td>
								<td>Enter the class name of the Http handler.</td>
							</tr>                
														<tr>
								<td>Http Handler Path</td>
								<td>Enter path for which urls the http handler should be called, e.g. */_vti_bin/_vti_aut/author.dll</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Http Module</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The Http module assembly needs to be registered in web.config. Therefore the Http module needs to be added to a feature with scope WebApplication and the necessary activation code is added to the feature receiver of the selected feature.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">HttpModule Settings</td>
							</tr>                
														<tr>
								<td>Http Module Name</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.12. Workflows</h3>
			Contains recipes for workflows
			<h4>2.1.1.1. Simple Workflow</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Workflow Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required Text. Specifies the workflow name that is displayed in the SharePoint Foundation interface. The workflow name can be up to 256 characters long.</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Optional Text. </td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Specifies the workflow description to be displayed in the SharePoint Foundation interface. The workflow description can be up to 256 characters long.</td>
							</tr>                
														<tr>
								<td>Id</td>
								<td>Required Text. Specifies the globally unique identifier (GUID) for the workflow.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.13. Business Connectivity Services</h3>
			Contains recipes to create BCS models
			<h4>2.1.1.8. Simple BCS Model</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Model Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Required string. Enter the name of the BCS Model.</td>
							</tr>                
														<tr>
								<td>Display Name</td>
								<td>Required string. Enter the display name of the BCS Model. This name is visible in dialogs to the user.</td>
							</tr>                
														<tr>
								<td>Estimated Item Count</td>
								<td>Required integer. Enter number of estimated count of elements in the data source.</td>
							</tr>                
														<tr>
								<td>Is Cached</td>
								<td>Required boolean. Check if the data should be cached.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Permissions</td>
							</tr>                
														<tr>
								<td>Users</td>
								<td>Enter all users which should have permission to this model, separated by ';', e.g. 'NT AUTHORITY\Authenticated Users' or 'STS|SecurityTokenService|http://sharepoint.microsoft.com/claims/2009/08/isauthenticated|true|http://www.w3.org/2001/XMLSchema#string'.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Import Model from Database as SQL Queries</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Model Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Enter the name of the BCS Model.</td>
							</tr>                
														<tr>
								<td>Display Name</td>
								<td>Enter the display name of the BCS Model. This name is visible in dialogs to the user.</td>
							</tr>                
														<tr>
								<td>Estimated Item Count</td>
								<td>Enter number of estimated count of elements in the data source.</td>
							</tr>                
														<tr>
								<td>Is Cached</td>
								<td>Check if the data should be cached.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Database Settings</td>
							</tr>                
														<tr>
								<td>Server</td>
								<td>Enter the name of the database server.</td>
							</tr>                
														<tr>
								<td>Database</td>
								<td>Enter the name of the database.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Permissions</td>
							</tr>                
														<tr>
								<td>Users</td>
								<td>Enter all users which should have permission to this model, separated by ';', e.g. 'NT AUTHORITY\Authenticated Users' or 'STS|SecurityTokenService|http://sharepoint.microsoft.com/claims/2009/08/isauthenticated|true|http://www.w3.org/2001/XMLSchema#string'.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Import Model from Database as Classes</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Model Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Enter the name of the BCS Model.</td>
							</tr>                
														<tr>
								<td>Display Name</td>
								<td>Enter the display name of the BCS Model. This name is visible in dialogs to the user.</td>
							</tr>                
														<tr>
								<td>Estimated Item Count</td>
								<td>Enter number of estimated count of elements in the data source.</td>
							</tr>                
														<tr>
								<td>Is Cached</td>
								<td>Check if the data should be cached.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Database Settings</td>
							</tr>                
														<tr>
								<td>Server</td>
								<td>Enter the name of the database server.</td>
							</tr>                
														<tr>
								<td>Database</td>
								<td>Enter the name of the database.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Permissions</td>
							</tr>                
														<tr>
								<td>Users</td>
								<td>Enter all users which should have permission to this model, separated by ';', e.g. 'NT AUTHORITY\Authenticated Users' or 'STS|SecurityTokenService|http://sharepoint.microsoft.com/claims/2009/08/isauthenticated|true|http://www.w3.org/2001/XMLSchema#string'.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Import Model from Database as LINQ entities</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Model Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Enter the name of the BCS Model.</td>
							</tr>                
														<tr>
								<td>Display Name</td>
								<td>Enter the display name of the BCS Model. This name is visible in dialogs to the user.</td>
							</tr>                
														<tr>
								<td>Estimated Item Count</td>
								<td>Enter number of estimated count of elements in the data source.</td>
							</tr>                
														<tr>
								<td>Is Cached</td>
								<td>Check if the data should be cached.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Database Settings</td>
							</tr>                
														<tr>
								<td>Server</td>
								<td>Enter the name of the database server.</td>
							</tr>                
														<tr>
								<td>Database</td>
								<td>Enter the name of the database.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Permissions</td>
							</tr>                
														<tr>
								<td>Users</td>
								<td>Enter all users which should have permission to this model, separated by ';', e.g. 'NT AUTHORITY\Authenticated Users' or 'STS|SecurityTokenService|http://sharepoint.microsoft.com/claims/2009/08/isauthenticated|true|http://www.w3.org/2001/XMLSchema#string'.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Design Model with .NET Assembly</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Model Settings</td>
							</tr>                
														<tr>
								<td>Name</td>
								<td>Enter the name of the BCS Model.</td>
							</tr>                
														<tr>
								<td>Display Name</td>
								<td>Enter the display name of the BCS Model. This name is visible in dialogs to the user.</td>
							</tr>                
														<tr>
								<td>Estimated Item Count</td>
								<td>Enter number of estimated count of elements in the data source.</td>
							</tr>                
														<tr>
								<td>Is Cached</td>
								<td>Check if the data should be cached.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Permissions</td>
							</tr>                
														<tr>
								<td>Users</td>
								<td>Enter all users which should have permission to this model, separated by ';', e.g. 'NT AUTHORITY\Authenticated Users' or 'STS|SecurityTokenService|http://sharepoint.microsoft.com/claims/2009/08/isauthenticated|true|http://www.w3.org/2001/XMLSchema#string'.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. BCS List Instance</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">List Instance Settings</td>
							</tr>                
														<tr>
								<td>Title</td>
								<td>Required Text. Title of the list in the schema.</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Optional Text. Contains a description of the list.</td>
							</tr>                
														<tr>
								<td>Url</td>
								<td>Required Text. Returns the site-relative URL at which to place the list.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">BCS Settings</td>
							</tr>                
														<tr>
								<td>BCS Entity</td>
								<td>Required Text. BCSEntity for the list Instance.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Settings</td>
							</tr>                
														<tr>
								<td>RootWebOnly</td>
								<td>Optional Boolean. TRUE to specify that the list created from the definition exists only in the root Web site of a site collection.</td>
							</tr>                
														<tr>
								<td>OnQuickLaunch</td>
								<td>Optional Boolean. TRUE to display lists created from the list definition on the Quick Launch bar.</td>
							</tr>                
														<tr>
								<td>QuickLaunchUrl</td>
								<td>Optional Text. Specifies the URL of the view page to open for the list through Quick Launch navigation.</td>
							</tr>                
														<tr>
								<td>Id</td>
								<td>Required Text. Specifies a unique identifier for the list instance. The integer must be unique across the Feature definition.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. Quick Deploy BCS Model</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.7. Quick Deploy BCS Model incl. Assembly</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.14. Advanced</h3>
			Contains recipes for advanced development tasks
			<h3>2.1.15. Security</h3>
			Contains recipes for to adjust security settings in the project
			<h4>2.1.1.6. Minimal CAS</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        <br />        
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Medium CAS</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        <br />        
				        </p>
				                   
                      
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ie/cc768613.aspx" target="_new">MSDN: Securing Web Parts in SharePoint Foundation</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. AspNetHosting Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Permission Level</td>
								<td>Required text.
High: Indicates that features protected with a demand for any level less than or equal to the High trust level will succeed. This level is intended for highly trusted managed-code applications that need to use most of the managed permissions that support semi-trusted access. It does not grant some of the highest permissions (for example, the ability to call into native code), but it does provide a way to run trusted applications with least privilege or to provide some level of constraints for highly trusted applications. This level is granted by configuring at least the High trust level in the trust section in a configuration file.
Low: Indicates that features protected with a demand for any level less than or equal to the Low level will succeed. This level is intended to allow read-only access to limited resources in a constrained environment. This level is granted by specifying the Low trust level in the trust section in a configuration file.
Medium: Indicates that features protected with a demand for any level less than or equal to the Medium level will succeed. This level is granted by configuring at least the Medium trust level in the trust section in a configuration file.
Minimal: Indicates that features protected with a demand for the Minimal level will succeed. This level allows code to execute but not to interact with resources present on the system. This level is granted by configuring at least the Minimal trust level using the trust section in a configuration file.
None: Indicates that no permission is granted. All demands for AspNetHostingPermission will fail.
Unrestricted: Indicates that all demands for permission to use all features of an application will be granted. This is equivalent to granting Full trust level in the trust section in a configuration file.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.8. Reflection Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Permission Level</td>
								<td>Required text.
AllFlags: TypeInformation, MemberAccess, and ReflectionEmit are set.
MemberAccess: Invocation of operations on all type members is allowed. If this flag is not set, only invocation of operations on visible type members is allowed.
NoFlags: No reflection is allowed on types that are not visible.
ReflectionEmit: Use of System.Reflection.Emit is allowed.
TypeInformation: Reflection is allowed on members of a type that are not visible.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Optional Boolean. If Unrestricted is true, the value of Permission Level will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Dns Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Unrestricted</td>
								<td>Required Boolean. If Unrestricted is true, the DnsPermission instance passes all demands. If Unrestricted is false, the DnsPermission instance fails all demands.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Environment Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Read</td>
								<td>Optional text. Only read access to environment variables is specified. Changing, deleting and creating environment variables is not included in this access level.</td>
							</tr>                
														<tr>
								<td>Write</td>
								<td>Optional text. Only write access to environment variables is specified. Write access includes creating and deleting environment variables as well as changing existing values. Reading environment variables is not included in this access level.</td>
							</tr>                
														<tr>
								<td>All Access</td>
								<td>Optional text. Read and Write access to environment variables.</td>
							</tr>                
														<tr>
								<td>No Access</td>
								<td>Optional text. No access to environment variables.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Optional Boolean. If Unrestricted is true, the other settings will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.7. Printing Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Controls access to printers.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Permission Level</td>
								<td>Required text.
AllPrinting: Provides full access to all printers.
DefaultPrinting: Provides printing programmatically to the default printer, along with safe printing through semirestricted dialog box. DefaultPrinting is a subset of AllPrinting.
NoPrinting: Prevents access to printers. NoPrinting is a subset of SafePrinting.
SafePrinting: Provides printing only from a restricted dialog box. SafePrinting is a subset of DefaultPrinting.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Optional Boolean. If Unrestricted is true, the value of Permission Level will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. FileIO Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Read</td>
								<td>Optional text. Read access to the contents of the file or access to information about the file, such as its length or last modification time.</td>
							</tr>                
														<tr>
								<td>Write</td>
								<td>Optional text. Write access to the contents of the file or access to change information about the file, such as its name. Also allows for deletion and overwriting.</td>
							</tr>                
														<tr>
								<td>Append</td>
								<td>Optional text. Ability to write to the end of a file only. No ability to read.</td>
							</tr>                
														<tr>
								<td>Path Discovery</td>
								<td>Optional text. Access to the information in the path itself. This helps protect sensitive information in the path, such as user names, as well as information about the directory structure revealed in the path. This value does not grant access to files or folders represented by the path.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Optional Boolean. If Unrestricted is true, the other settings will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.14. WebPart Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Connections</td>
								<td>Optional Boolean. Defines whether Web Part to Web Part connections are allowed.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Required Boolean. If Unrestricted is true, all other permissions will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.13. SqlClient Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Allow Blank Password</td>
								<td>Optional Boolean. Gets a value indicating whether a blank password is allowed.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Optional Boolean. If Unrestricted is true, the value of Permission Level will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.9. Registry Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Read</td>
								<td>Optional text. Read access to registry variables.</td>
							</tr>                
														<tr>
								<td>Write</td>
								<td>Optional text. Write access to registry variables. Write permission does not imply permission to Read or Create.</td>
							</tr>                
														<tr>
								<td>Create</td>
								<td>Optional text. Create access to registry variables.</td>
							</tr>                
														<tr>
								<td>All Access</td>
								<td>Optional text. Create, Read, and Write access to registry variables.</td>
							</tr>                
														<tr>
								<td>No Access</td>
								<td>Optional text. No access to registry variables.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Optional Boolean. If Unrestricted is true, the value of Permission Level will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.11. SharePoint Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Impersonate</td>
								<td>Optional Boolean. Defines whether impersonation is allowed.</td>
							</tr>                
														<tr>
								<td>Object Model</td>
								<td>Optional Boolean. Defines whether use of the SharePoint object model is allowed.</td>
							</tr>                
														<tr>
								<td>Unsafe Save On Get</td>
								<td>Optional Boolean. Defines whether saving to the Microsoft SharePoint Products and Technologies database is allowed during an HTTP-GET request.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Required Boolean. If Unrestricted is true, all other permissions will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.10. Security Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Typical Permissions</td>
							</tr>                
														<tr>
								<td>Assertion</td>
								<td>Optional Boolean. Ability to assert that all this code's callers have the requisite permission for the operation.</td>
							</tr>                
														<tr>
								<td>BindingRedirects</td>
								<td>Optional Boolean. Permission to perform explicit binding redirection in the application configuration file. This includes redirection of .NET Framework assemblies that have been unified as well as other assemblies found outside the .NET Framework.</td>
							</tr>                
														<tr>
								<td>Execution</td>
								<td>Optional Boolean. Permission for the code to run. Without this permission, managed code will not be executed. This flag has no effect when used dynamically with stack modifiers such as Deny, Assert, and PermitOnly.</td>
							</tr>                
														<tr>
								<td>Infrastructure</td>
								<td>Optional Boolean. Permission to plug code into the common language runtime infrastructure, such as adding Remoting Context Sinks, Envoy Sinks and Dynamic Sinks.</td>
							</tr>                
														<tr>
								<td>NoFlags</td>
								<td>Optional Boolean. No security access.</td>
							</tr>                
														<tr>
								<td>RemotingConfiguration</td>
								<td>Optional Boolean. Permission to configure Remoting types and channels.</td>
							</tr>                
														<tr>
								<td>SerializationFormatter</td>
								<td>Optional Boolean. Ability to provide serialization services. Used by serialization formatters.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Advanced Permissions</td>
							</tr>                
														<tr>
								<td>AllFlags</td>
								<td>Optional Boolean. The unrestricted state of the permission.</td>
							</tr>                
														<tr>
								<td>ControlPolicy</td>
								<td>Optional Boolean. Ability to view and modify policy. This is a powerful permission that should only be granted to highly trusted code.</td>
							</tr>                
														<tr>
								<td>ControlThread</td>
								<td>Optional Boolean. Ability to use certain advanced operations on threads.</td>
							</tr>                
														<tr>
								<td>ControlEvidence</td>
								<td>Optional Boolean. Ability to provide evidence, including the ability to alter the evidence provided by the common language runtime. This is a powerful permission that should only be granted to highly trusted code.</td>
							</tr>                
														<tr>
								<td>ControlAppDomain</td>
								<td>Optional Boolean. Ability to create and manipulate an AppDomain.</td>
							</tr>                
														<tr>
								<td>ControlDomainPolicy</td>
								<td>Optional Boolean. Ability to specify domain policy.</td>
							</tr>                
														<tr>
								<td>ControlPrincipal</td>
								<td>Optional Boolean. Ability to manipulate the principal object.</td>
							</tr>                
														<tr>
								<td>SkipVerification</td>
								<td>Optional Boolean. Ability to skip verification of code in this assembly. Code that is unverifiable can be run if this permission is granted. This is a powerful permission that should be granted only to highly trusted code. This flag has no effect when used dynamically with stack modifiers such as Deny, Assert, and PermitOnly.</td>
							</tr>                
														<tr>
								<td>UnmanagedCode</td>
								<td>Optional Boolean. Ability to call unmanaged code. Since unmanaged code potentially allows other permissions to be bypassed, this is a dangerous permission that should only be granted to highly trusted code. It is used for such applications as calling native code using PInvoke or using COM interop.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">No Permissions</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Required Boolean. If Unrestricted is true, all other permission will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.12. SMTP Permission</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Permission Level</td>
								<td>Required text.
Connect: Connection to an SMTP host on the default port (port 25).
ConnectToUnrestrictedPort: Connection to an SMTP host on any port.
None: No access to an SMTP host.</td>
							</tr>                
														<tr>
								<td>Unrestricted</td>
								<td>Optional Boolean. If Unrestricted is true, the value of Permission Level will be ignored.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/87s2x3z7(v=vs.80).aspx" target="_new">MSDN: SmtpPermission Class</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.16. Files</h3>
			Contains recipes to add files at the correct location within the project
			<h4>2.1.1.4. Add Assembly for GAC Deployment</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        GAC assemblies are deployed to the GAC and are globally available. In manifest.xml they are located here:<br />        <br />        &lt;Solution xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SolutionId="00000000-0000-0000-0000-000000000000" ResetWebServer="True" xmlns="http://schemas.microsoft.com/sharepoint/"&gt;<br />        &#160;&lt;Assemblies&gt;<br />        &#160;&#160;&lt;Assembly Location="WebPartResources.dll" DeploymentTarget="<b>GlobalAssemblyCache</b>"&gt;<br />        &#160;&#160;&#160;&lt;SafeControls&gt;<br />        &#160;&#160;&#160;&#160;&lt;SafeControl Assembly="WebPartResources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6763c0814d065309" Namespace="WebPartResources" TypeName="*" Safe="True" /&gt;<br />        &#160;&#160;&#160;&lt;/SafeControls&gt;<br />        &#160;&#160;&lt;/Assembly&gt;<br />        &#160;&lt;/Assemblies&gt;<br />        &lt;/Solution&gt;<br />      
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Source Files</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Add Global Resource file (.resx)</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Add Assembly for Webapplication Deployment</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        WebApplication assemblies are added to the project to folder 80/BIN. In manifest.xml these files are located here:<br />        <br />        &lt;Solution xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SolutionId="00000000-0000-0000-0000-000000000000" ResetWebServer="True" xmlns="http://schemas.microsoft.com/sharepoint/"&gt;<br />        &#160;&lt;Assemblies&gt;<br />        &#160;&#160;&lt;Assembly Location="WebPartResources.dll" DeploymentTarget="<b>WebApplication</b>"&gt;<br />        &#160;&#160;&#160;&lt;SafeControls&gt;<br />        &#160;&#160;&#160;&#160;&lt;SafeControl Assembly="WebPartResources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6763c0814d065309" Namespace="WebPartResources" TypeName="*" Safe="True" /&gt;<br />        &#160;&#160;&#160;&lt;/SafeControls&gt;<br />        &#160;&#160;&lt;/Assembly&gt;<br />        &#160;&lt;/Assemblies&gt;<br />        &lt;/Solution&gt;<br />        <br />        After deployment these files get deployed to folder \inetpub\wwwroot\wss\VirtualDirectories\80\bin<br />        
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Source Files</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Add Class Resource Files</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Class resource files are added to the project in folder 80/BIN/wpresources/[NameOfAssembly]. In manifest.xml these files are deployed to <br />        <br />        &lt;Solution xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SolutionId="00000000-0000-0000-0000-000000000000" ResetWebServer="True" xmlns="http://schemas.microsoft.com/sharepoint/"&gt;<br />        &#160;&lt;Assemblies&gt;<br />        &#160;&#160;&lt;Assembly Location="WebPartResources.dll" DeploymentTarget="GlobalAssemblyCache"&gt;<br />        &#160;&#160;&#160;&lt;SafeControls&gt;<br />        &#160;&#160;&#160;&#160;&lt;SafeControl Assembly="WebPartResources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6763c0814d065309" Namespace="WebPartResources" TypeName="*" Safe="True" /&gt;<br />        &#160;&#160;&#160;&lt;/SafeControls&gt;<br />        &#160;&#160;&#160;&lt;ClassResources&gt;<br />        &#160;&#160;&#160;&#160;<b>&lt;ClassResource Location="testfile.gif" FileName="testfile.gif" /&gt;</b><br />        &#160;&#160;&#160;&lt;/ClassResources&gt;<br />        &#160;&#160;&lt;/Assembly&gt;<br />        &#160;&lt;/Assemblies&gt;<br />        &lt;/Solution&gt;<br />        <br />        After deployment these files are located here.<br />        For assemblies in GAX: C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\WebPartResources\1.0.0.0__6763c0814d065309\testfile.gif<br />        For assemblies in BIN: C:\inetpub\wwwroot\wss\VirtualDirectories\80\wpresources\1.0.0.0__6763c0814d065309\testfile.gif<br />        <br />        In code you can access there files:<br />        <br />        SPWeb currentWeb = SPControl.GetContextWeb(Context);<br />        Type currentType = this.GetType();<br />        string classResourcePath = SPWebPartManager.GetClassResourcePath(currentWeb, currentType);&#160;&#160; <br />        image = new Image();<br />        image.ImageUrl = classResourcePath + "/testfile.gif";<br />        <br />        The file could also be access via URL:<br />        <br />        http://servername/_wpresources/[assemblyname]/testfile.gif<br />        
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Source Files</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Add Application Resource Files</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Application resource files are mainly used for .resx files in application pages. They are deployed to folder VirtualDirectories\80\App_GlobalResources of a web application.<br />        <br />        This functionality only works in SharePoint 2010. In earlier versions files could not be deployed to VirtualDirectories\80\App_GlobalResources with wsp solutions.<br />        <br />        In SharePoint 2010 application resource files are deployed with wsp solutions to folder 12/CONFIG/Resources/ and copied to VirtualDirectories\80\App_GlobalResources with stsadm -o copyappbincontent.<br />        <br />        Alternatively these files could be copied with a feature receiver:<br />        - For Central Administration resources (and sitemaps): SPWebService.AdministrationService.ApplyApplicationContentToLocalServer();<br />        - For Application Page resources (and sitemaps): SPFarm.Local.Services.GetValue().ApplyApplicationContentToLocalServer();<br />        <br />        In the Visual Studio project application resource files are located here:<br />        80/BIN/resources<br />        <br />        Application resource files are located in manifest.xml here:        <br />        &lt;Solution xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SolutionId="00000000-0000-0000-0000-000000000000" ResetWebServer="True" xmlns="http://schemas.microsoft.com/sharepoint/"&gt;<br />        &#160;&lt;ApplicationResourceFiles&gt;<br />        &#160;&#160;<b>&lt;ApplicationResourceFile Location="80\resources\testfile.gif/&gt;</b><br />        &#160;&lt;/ApplicationResourceFiles&gt;<br />        &#160;&lt;!-- new in SharePoint 2010 --&gt;<br />        &#160;&lt;App_GlobalResources&gt;<br />        &#160;&#160;<b>&lt;App_GlobalResourceFile Location="80\resources\testfile.gif/&gt;</b><br />        &#160;&lt;/App_GlobalResources&gt;    <br />        &lt;/Solution&gt;<br />        <br />        These files are deployed to C:\inetpub\wwwroot\wss\VirtualDirectories\80\App_GlobalResources in a webapplication.<br />        
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Source Files</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. Add Image</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipes adds a image at the appropriate location within the project for deployment to /_images/
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Source Files</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.7. Add Layouts file</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipes adds a file at the appropriate location within the project for deployment to /_layouts/.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Source Files</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.17. Silverlight</h3>
			Contains recipes to add Silverlight applications to the project
			<h4>2.1.1.1. Silverlight Application</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Silverlight Application Settings</td>
							</tr>                
														<tr>
								<td>Generated Silverlight Application Name</td>
								<td>Required String. Generated name of the Silverlight application.</td>
							</tr>                
														<tr>
								<td>Silverlight Application Name</td>
								<td>Required Text. Name of the Silverlight application.</td>
							</tr>                
														<tr>
								<td>Silverlight Version</td>
								<td>Required Text. Target Silverlight version.</td>
							</tr>                
														<tr>
								<td>WebPart Title</td>
								<td>Required Text. Title of the webpart which displays the Silverlight application.</td>
							</tr>                
														<tr>
								<td>WebPart Description</td>
								<td>Required Text. Description of the webpart which displays the Silverlight application.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Sample: Silverlight Data Binding</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/SilverlightApplicationSampleDataBinding/100_WP.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Silverlight Application Settings</td>
							</tr>                
														<tr>
								<td>Generated Silverlight Application Name</td>
								<td>Required String. Generated name of the Silverlight application.</td>
							</tr>                
														<tr>
								<td>Silverlight Application Name</td>
								<td>Required Text. Name of the Silverlight application.</td>
							</tr>                
														<tr>
								<td>Silverlight Version</td>
								<td>Required Text. Target Silverlight version.</td>
							</tr>                
														<tr>
								<td>WebPart Title</td>
								<td>Required Text. Title of the webpart which displays the Silverlight application.</td>
							</tr>                
														<tr>
								<td>WebPart Description</td>
								<td>Required Text. Description of the webpart which displays the Silverlight application.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/magazine/ff956224.aspx" target="_new">MSDN: Download source of sample application</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Sample: Silverlight Task Adder</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/SilverlightApplicationSampleTaskAdder/100_WPt.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Silverlight Application Settings</td>
							</tr>                
														<tr>
								<td>Generated Silverlight Application Name</td>
								<td>Required String. Generated name of the Silverlight application.</td>
							</tr>                
														<tr>
								<td>Silverlight Application Name</td>
								<td>Required Text. Name of the Silverlight application.</td>
							</tr>                
														<tr>
								<td>Silverlight Version</td>
								<td>Required Text. Target Silverlight version.</td>
							</tr>                
														<tr>
								<td>WebPart Title</td>
								<td>Required Text. Title of the webpart which displays the Silverlight application.</td>
							</tr>                
														<tr>
								<td>WebPart Description</td>
								<td>Required Text. Description of the webpart which displays the Silverlight application.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://code.msdn.microsoft.com/SharePointDev2010" target="_new">MSDN: Download source of sample application</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Sample: Silverlight List Viewer</h4>
				
      					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/SilverlightApplicationSampleListViewer/100_WP.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Silverlight Application Settings</td>
							</tr>                
														<tr>
								<td>Generated Silverlight Application Name</td>
								<td>Required String. Generated name of the Silverlight application.</td>
							</tr>                
														<tr>
								<td>Silverlight Application Name</td>
								<td>Required Text. Name of the Silverlight application.</td>
							</tr>                
														<tr>
								<td>Silverlight Version</td>
								<td>Required Text. Target Silverlight version.</td>
							</tr>                
														<tr>
								<td>WebPart Title</td>
								<td>Required Text. Title of the webpart which displays the Silverlight application.</td>
							</tr>                
														<tr>
								<td>WebPart Description</td>
								<td>Required Text. Description of the webpart which displays the Silverlight application.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ff806163.aspx" target="_new">MSDN: Download source of sample application</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.18. PowerShell</h3>
			Contains recipes to add PowerShell scripts and cmdlets
			<h4>2.1.1.4. SharePoint CmdLet</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The custom cmdlet can be used in powershell scripts (.ps1) to run adminstration jobs for instance, e.g. 'Start-MyCustomJob'.<br />Use command "Get-Help Start-MyCustomJob' to display a detailed help information.<br />Use command "Get-Command Start-MyCustomJob' to display general information.
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/SPCmdLet/100_GetCommand.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/SPCmdLet/200_GetHelp.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/SPCmdLet/300_GetCommands.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Generated Command</td>
								<td>Optional String. Displays the final command</td>
							</tr>                
														<tr>
								<td>Verb</td>
								<td>Required String. Enter the verb e.g. "Start", "Stop", "Backup".</td>
							</tr>                
														<tr>
								<td>Noun</td>
								<td>Required String. Enter the operation or object type e.g. "SPSiteByName".</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required String. Enter the a short description of the cmdlet (used in help file).</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee536539.aspx" target="_new">MSDN: Windows PowerShell in the SharePoint Management Shell</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee534984.aspx" target="_new">MSDN: Key Concepts for Writing Cmdlets for the SharePoint Management Shell</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee534968.aspx" target="_new">MSDN: Development Guidelines for SharePoint Foundation Cmdlets</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. SharePoint CmdLet with PipeBind</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The custom cmdlet can be used in powershell scripts (.ps1) to handle objects e.g. SPList or SPSite within a pipe.<br />Use command "Get-Help Get-MyCustomList' to display a detailed help information.<br />Use command "Get-Command Get-MyCustomList' to display general information.
				        </p>
				        					<DIV class="OH_CollapsibleAreaRegion">
						<DIV class="OH_regiontitle">Screens</DIV>
						<DIV class="OH_RegionToggle"></DIV>
					</DIV>
					<DIV class="OH_clear"></DIV>
					<p>				
					<span class="spsfscreenshot"><span>
							            <img class="screenshot" src="./Screenshots/SPCmdLetWithPipeBind/100_GetCommand.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/SPCmdLetWithPipeBind/200_GetHelp.gif" />
							            <br />
						            </span><span>
							            <img class="screenshot" src="./Screenshots/SPCmdLetWithPipeBind/300_GetCommands.gif" />
							            <br />
						            </span></span>
					</p>
                    <div class="spsfclear"></div>           
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">General Settings</td>
							</tr>                
														<tr>
								<td>Generated Command</td>
								<td>Optional String. Displays the final command</td>
							</tr>                
														<tr>
								<td>Verb</td>
								<td>Required String. Select the verb e.g. "Get", "New", "Set", "Delete".</td>
							</tr>                
														<tr>
								<td>Noun</td>
								<td>Required String. Enter the operation or object type e.g. "SPSiteByName".</td>
							</tr>                
														<tr>
								<td>Description</td>
								<td>Required String. Enter the a short description of the cmdlet (used in help file).</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Pipe Object Settings</td>
							</tr>                
														<tr>
								<td>Object Type</td>
								<td>Optional String. Enter the existing type of object that should be used for pipe binding (e.g. SPList, SPWeb).</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee536539.aspx" target="_new">MSDN: Windows PowerShell in the SharePoint Management Shell</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee534984.aspx" target="_new">MSDN: Key Concepts for Writing Cmdlets for the SharePoint Management Shell</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/ee534968.aspx" target="_new">MSDN: Development Guidelines for SharePoint Foundation Cmdlets</a>
					</li>
					<li>
						<a href="http://blog.falchionconsulting.com/index.php/2009/10/creating-custom-sharepoint-2010-cmdlets-using-visual-studio-2010/" target="_new">Gary Lapointe: Creating Custom SharePoint 2010 Cmdlets using Visual Studio 2010 </a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. PowerShell CmdLet</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. PowerShell PSCmdLet</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. PowerShell Script</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h2>2.3. SPSF Deploy and Debug</h2>
		Contains the core recipes
		<h3>2.1.1. Deployment</h3>
			Contains recipes for local deployment of solutions
			<h4>2.1.1.1. Deploy Solution(s)</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe deploys the selected project(s) to the local SharePoint farm. <br />&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;If the wsp solution contains web application resources the solution is deployed to a specific web application. This specific web application can be configured with "Configure Deployment".
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Redeploy Solution(s)</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Undeploy Solution(s)</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Upgrade Solution(s)</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.2. Quick Deploy</h3>
			Contains recipes for quick deployment to the local farm
			<h4>2.1.1.2. Copy Both</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Copy to SharePoint Hive</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Copy Assembly</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.3. Deploy Sandboxed Solutions Remotely</h3>
			Contains recipes for deployment of sandboxed solutions to a remote farm
			<h4>2.1.1.1. Deploy Sandboxed Solution(s)</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe deploys the selected project(s) to the local SharePoint farm. <br />&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;If the wsp solution contains web application resources the solution is deployed to a specific web application. This specific web application can be configured with "Configure Deployment".
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Undeploy Sandboxed Solution(s)</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Upgrade Sandboxed Solution(s)</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.4. Debugging</h3>
			Contains recipes to help debugging an application
			<h4>2.1.1.7. Start New Instance</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Attach to W3WP Worker Process</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Worker Process</td>
								<td>Select the worker process.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Attach to SharePoint 2010 User Code Host</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Recycle App Pool</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Application Pool</td>
								<td>Select the application pool.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. IIS Reset</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Attach to OWSTimer</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. Restart OWSTimer</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h2>2.4. SPSF Test and Analyze</h2>
		Contains helpful recipes
		<h3>2.1.1. Test</h3>
			Helpful commands to add tests to the project
			<h3>2.1.2. Analyze</h3>
			Helpful commands to analyze the code
			<h4>2.1.1.1. Run SPDisposeChecker</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h2>2.5. SPSF Helpers</h2>
		Contains helpful recipes
		<h3>2.1.1. STSADM</h3>
			Helpful commands to run stsadm operations
			<h4>2.1.1.3. stsadm deactivatefeature</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        This recipe is helpfull if hidden features are deployed and a feature needs to be deactivated via stsadm -o activatefeature.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Feature Id</td>
								<td>Select the feature to activate.</td>
							</tr>                
														<tr>
								<td>Url</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. stsadm activatefeature</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        This recipe is helpfull if hidden features are deployed and a feature needs to be activated via stsadm -o activatefeature.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Feature Id</td>
								<td>Select the feature to activate.</td>
							</tr>                
														<tr>
								<td>Url</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. stsadm uninstallfeature</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Uninstalls the selected feature. This is useful if e.g. by corrupt solution deployments some features are still registered in the database, but the feature folder is already removed.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Feature Id</td>
								<td>Select the feature to activate.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. stsadm copyappbincontent</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. stsadm execadmsvcjobs</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Open stsadm Prompt</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.2. Shortcuts</h3>
			Contains useful shortcuts
			<h4>2.1.1.1. Reload SharePoint Configuration</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        In several dialogs within the wizards a list of SharePoint elements is provided to the user (e.g. list of available features, content types etc.). The values for this list are taken from the file SharePointConfiguration.xml, which should be located in the current solution.&lt;br/&gt;&lt;br/&gt;This recipe recreates the file SharePointConfiguration.xml with the data from the local computer.
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Open Debugging Site in Browser</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        This recipe provides a shortcut to the debugging site of the current selected project.
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. Open Latest SharePoint Trace Log</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Open Item in SharePoint Hive</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.7. Open SharePoint Trace Log Folder</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Open Central Administration in Browser</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        This recipe provides a shortcut to the local Central Administration in SharePoint, e.g. create a new site collection or check farm features.
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Open Solution Management in Browser</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        This recipe provides a shortcut to the Solution Management in SharePoint, e.g. to check which solutions are deployed or undeployed.
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.3. Helpers</h3>
			Contains recipes to speed up the development process
			<h4>2.1.1.9. Run MSBuild Target</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Build Target</td>
								<td>Name of the target to be executed.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Exclude item from SourceControl</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe removes a file from source control to avoid conflicts during build.
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Get AssemblyName</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The assembly name of often needed during development, e.g. to specify the assembly of a feature receiver in the feature.xml.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Assembly Name</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Get Installed SharePoint Version</h4>
				
                 
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>SharePoint Version</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.6. Open WSP solution file as .CAB</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Remove TextTemplating Transformation</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Recipe changes a .tt file to a static file. This is usefull e.g. for transforming manifest.tt to manifest.xml to enable editing of manifest.xml.
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Open in Browser</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        The recipe opens the selected file in browser. The recipe is useful to open deployed file in SharePoint directly from within Visual Studio.
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.8. Open SPSF Help</h4>
				
                 
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.7. About SPSF</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Displays the about dialog with information about the SPSF.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h3>2.1.4. Configuration</h3>
			Contains recipes to configure the application
			<h4>2.1.1.6. Migrate Solution to current SPSF version</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Migrates the whole solution to the current installed version of SharePoint Software Factory. If already existing, the deployment project "ApplicationDeployment" remains untouched. 
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Application Settings</td>
							</tr>                
														<tr>
								<td>Company Name</td>
								<td>Required String. Specifies the company name of the SharePoint application, used in copyright statements.</td>
							</tr>                
														<tr>
								<td>Application Name</td>
								<td>Required String. Specifies the name of the SharePoint application, given by the name of the VS solution name.</td>
							</tr>                
														<tr>
								<td>Application Version</td>
								<td>Required String. Specifies the version of the SharePoint application.</td>
							</tr>                
														<tr>
								<td>SharePoint Version</td>
								<td>Required String. Target SharePoint version (12 or 14).</td>
							</tr>                
														<tr>
								<td>Local Site for debugging</td>
								<td>Optional Url. Name of a SharePoint site for local debugging.</td>
							</tr>                
														<tr>
								<td class="name" colspan="2">Code Quality</td>
							</tr>                
														<tr>
								<td>Check code with FxCop in 'Release' build</td>
								<td>Optional Boolean. If true Microsoft FxCop will be executed during the 'Release' build to check the complied code against certain coding rules. Additionally a SharePoint specific FxCop settings file will be added to the solution.</td>
							</tr>                
														<tr>
								<td>Check code with StyleCop in 'Release' build</td>
								<td>Optional Boolean. If true Microsoft StyleCop will be executed during the 'Release' build to check the C# source code against certain style rules. Additionally a SharePoint specific StyleCop settings file will be added to the solution.</td>
							</tr>                
														<tr>
								<td>Check code with ShareCop in 'Release' build</td>
								<td>Optional Boolean. If true SharePoint Code Analysis will be executed during the 'Release' build to check code against certain style rules. Additionally a SharePoint specific ShareCop settings file will be added to the solution.</td>
							</tr>                
														<tr>
								<td>Check code with SPDisposeChecker in 'Release' build</td>
								<td>Optional Boolean. If true SharePoint Dispose Checker will be executed during the 'Release' build to check the code for potential memory leaks.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.5. Migrate Project to current SPSF version</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Migrates the selected project to the current installed version of SharePoint Software Factory.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.1. Analyze and Fix Project</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Checks Visual Studio projects for possible problems. This could be:<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;- Output of .TT-Files like mainfest.tt should not be under source control. Otherwise these files cannot be generated during build<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;- Hidden files in folder SharePointRoot will be included into the wsp file without intention<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
				        </p>
				                   
                      <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.2. Configure Application</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Configures the generell settings of the project.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>Local Site for debugging</td>
								<td>Optional Url. Name of a SharePoint site for local debugging.</td>
							</tr>                
														<tr>
								<td>Local Site for testing</td>
								<td>Optional Url. Name of a SharePoint site for local testing.</td>
							</tr>                
														<tr>
								<td>SharePoint Version</td>
								<td>Required String. Specifies the target SharePoint version.</td>
							</tr>                
														<tr>
								<td>Generate .resx files automatically</td>
								<td>Optional Boolean. If true .resx files are generated automatically.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.3. Configure Project</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Configures the generell settings of the project.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>DeploymentTarget</td>
								<td></td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

				<h4>2.1.1.4. Configure Project</h4>
				
                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Configures the generell settings of the project.
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td>DeploymentTarget</td>
								<td></td>
							</tr>                
														<tr>
								<td>Sandboxed solution</td>
								<td>Optional Boolean. If checked a sandboxed solutions will be created.</td>
							</tr>                
							                </table>
				</p>
                           <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.0 Initial Recipe</li>           </ul>
		   </p>



     

					<h6>&nbsp;</h6>
	<h1>3. Snippets</h1>		<h2>1.1. Basic</h2>
				<h2>1.2. CSharp</h2>
					<h3>1.1.1. Columns</h3>
							<h4>1.1.1.1. Create a lookup site column</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>lookupXML</td>
			<td>Lookup XML</td>
			<td>lookupXML</td>
		</tr>
				<tr>
			<td>lookupGuid</td>
			<td>Lookup Guid</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
				<tr>
			<td>DisplayName</td>
			<td>Display Name</td>
			<td>DisplayName</td>
		</tr>
				<tr>
			<td>internalName</td>
			<td>Internal name</td>
			<td>InternalName</td>
		</tr>
				<tr>
			<td>GroupName</td>
			<td>Group name</td>
			<td>GroupName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>string lookupXML = @&quot; &lt;Field Type='LookupMulti'<br />                                   ID='{0}'<br />                                   Mult='TRUE'<br />                                   DisplayName='{4}'<br />                                   Required='TRUE'<br />                                   List='{1}'<br />                                   WebId='{2}'<br />                                   ShowField='Title'<br />                                   Name='{5}'<br />                                   StaticName='{5}'<br />                                   Group='{6}'/&gt;&quot;;<br /><br />                 $web$.Fields.AddFieldAsXml(string.Format(lookupXML, &quot;00000000-0000-0000-0000-000000000000&quot;, parentList.ID, $web$.ID, &quot;DisplayName&quot;,&quot;InternalName&quot;,&quot;GroupName&quot;));<br />      <br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
							<h3>1.1.2. ContentTypes</h3>
							<h4>1.1.1.1. Add existing SiteColumn to ContentType</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>ContentType</td>
			<td>ContentType</td>
			<td>ContentType</td>
		</tr>
				<tr>
			<td>field</td>
			<td>SPField</td>
			<td>field</td>
		</tr>
				<tr>
			<td>FieldName</td>
			<td>FieldName</td>
			<td>FieldName</td>
		</tr>
				<tr>
			<td>ContentTypeName</td>
			<td>ContentTypeName</td>
			<td>ContentTypeName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />      SPContentType ContentType;<br />                SPField field ;<br />                if (web.AvailableFields.ContainsField(&quot;FieldName&quot;) && web.AvailableContentTypes[&quot;ContentTypeName&quot;]!=null)<br />                {<br />                    ContentType = web.AvailableContentTypes[&quot;ContentTypeName&quot;];<br />                    field = web.AvailableFields[&quot;FieldName&quot;];<br />                    ContentType.FieldLinks.Add(new SPFieldLink(field));<br />                    ContentType.Update(true);<br />                }<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.2. Add new SiteColumn to ContentType</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>strNewColumn</td>
			<td>New Column</td>
			<td>strNewColumn</td>
		</tr>
				<tr>
			<td>SiteUrl</td>
			<td>SiteUrl</td>
			<td>SiteUrl</td>
		</tr>
				<tr>
			<td>ListName</td>
			<td>ListName</td>
			<td>ListName</td>
		</tr>
				<tr>
			<td>ColumnName</td>
			<td>ColumnName</td>
			<td>ColumnName</td>
		</tr>
				<tr>
			<td>ContentTypeName</td>
			<td>ContentTypeName</td>
			<td>ContentTypeName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>using (SPWeb $oWebsite$ = new SPSite(&quot;SiteUrl&quot;).OpenWeb())<br />{<br />    SPList $oList$ = $oWebsite$.GetList(&quot;ListName&quot;);<br />    SPFieldCollection $collFields$ = $oWebsite$.Fields;<br /><br />    string strNewColumn = $collFields$.Add(&quot;ColumnName&quot;, SPFieldType.Text, false);<br /><br />    SPFieldLink $oFieldLink$ = new SPFieldLink(fields[strNewColumn]);<br />    SPContentType $oContentType$ = $oList$.ContentTypes[&quot;ContentTypeName&quot;];<br />    $oContentType$.FieldLinks.Add($oFieldLink$);<br /><br />    $oContentType$.Update(true);<br />}<br /></pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ms442695.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ms442695.aspx</a>
</p>
								<h4>1.1.1.3. Create ContentType by Code</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>collFields</td>
			<td>collFields</td>
			<td>collFields</td>
		</tr>
				<tr>
			<td>strNewColumn</td>
			<td>Column</td>
			<td>strNewColumn</td>
		</tr>
				<tr>
			<td>ColumnName</td>
			<td>ColumnName</td>
			<td>ColumnName</td>
		</tr>
				<tr>
			<td>oContentType</td>
			<td>ContentType</td>
			<td>contentType</td>
		</tr>
				<tr>
			<td>ContentTypeName</td>
			<td>ContentTypeName</td>
			<td>ContentTypeName</td>
		</tr>
				<tr>
			<td>oFieldLink</td>
			<td>FieldLink</td>
			<td>fieldLink</td>
		</tr>
				<tr>
			<td>ListName</td>
			<td>ListName</td>
			<td>ListName</td>
		</tr>
				<tr>
			<td>oWebsite</td>
			<td>SPWeb</td>
			<td>web</td>
		</tr>
				<tr>
			<td>SiteUrl</td>
			<td>SiteUrl</td>
			<td>http://localhost/site</td>
		</tr>
				<tr>
			<td>oList</td>
			<td>SPList</td>
			<td>list</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>using (SPWeb web = new SPSite(&quot;http://localhost/site&quot;).OpenWeb())<br />{<br />    SPList list = web.GetList(&quot;ListName&quot;);<br />    SPFieldCollection collFields = web.Fields;<br /><br />    string strNewColumn = collFields.Add(&quot;ColumnName&quot;, SPFieldType.Text, false);<br /><br />    SPFieldLink fieldLink = new SPFieldLink(fields[strNewColumn]);<br />    SPContentType contentType = list.ContentTypes[&quot;ContentTypeName&quot;];<br />    contentType.FieldLinks.Add(fieldLink);<br /><br />    contentType.Update(true);<br />}<br /></pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ms442695.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ms442695.aspx</a>
</p>
							<h3>1.1.3. Events</h3>
							<h4>1.1.1.1. Register Event</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>WebUrl</td>
			<td>Url of SPWeb</td>
			<td>http://MyServer/sites/MySiteCollection/MyWebSite</td>
		</tr>
				<tr>
			<td>ListName</td>
			<td>Name of the list</td>
			<td>Shared Documents</td>
		</tr>
				<tr>
			<td>AssemblyName</td>
			<td>Full name of the assembly with the event receiver</td>
			<td>Shared Documents</td>
		</tr>
				<tr>
			<td>ClassName</td>
			<td>Full name of the event receiver class</td>
			<td>Namespace.ClassName</td>
		</tr>
				<tr>
			<td>EventName</td>
			<td>Name of the event</td>
			<td>UniqueEventName</td>
		</tr>
				<tr>
			<td>SequenceNumber</td>
			<td>Integer value of sequence</td>
			<td>1000</td>
		</tr>
				<tr>
			<td>EventType</td>
			<td>Type of the event to be registered</td>
			<td>SPEventReceiverType.ItemAdded</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>using (SPWeb oWebsite = new SPSite(&quot;http://MyServer/sites/MySiteCollection/MyWebSite&quot;).OpenWeb())<br />{<br />            SPList list = web.Lists[&quot;Shared Documents&quot;];<br /><br />            SPEventReceiverDefinition def = list.EventReceivers.Add();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;def.Assembly = &quot;Shared Documents&quot;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;def.Class = &quot;Namespace.ClassName&quot;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;def.Name = &quot;UniqueEventName&quot;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;def.Type = SPEventReceiverType.ItemAdded;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;def.SequenceNumber = 1000;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;def.Synchronization = SPEventReceiverSynchronization.Synchronous;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;def.Update();<br /><br />}</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="" target="_new"></a>
</p>
								<h4>1.1.1.2. Unregister event</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>WebUrl</td>
			<td>Url of SPWeb</td>
			<td>http://MyServer/sites/MySiteCollection/MyWebSite</td>
		</tr>
				<tr>
			<td>ListName</td>
			<td>Name of the list</td>
			<td>Shared Documents</td>
		</tr>
				<tr>
			<td>EventName</td>
			<td>Name of the event</td>
			<td>UniqueEventName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>using (SPWeb $oWebsite$ = new SPSite(&quot;http://MyServer/sites/MySiteCollection/MyWebSite&quot;).OpenWeb())<br />{<br />&#160;&#160;&#160;SPList $list$ = web.Lists[&quot;Shared Documents&quot;];<br /><br />&#160;&#160;&#160;SPEventReceiverDefinitionCollection $receivers$ = $list$.EventReceivers;<br />&#160;&#160;&#160;foreach (SPEventReceiverDefinition $def$ in $receivers$)<br />&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;if ($def$.Name == &quot;UniqueEventName&quot;)<br />&#160;&#160;&#160;&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;$def$.Delete();        <br />&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;}<br />}</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="" target="_new"></a>
</p>
							<h3>1.1.4. Features</h3>
							<h4>1.1.1.1. Activate a farm feature</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>featureGuid</td>
			<td>Feature GUID object</td>
			<td>featureId</td>
		</tr>
				<tr>
			<td>webApplication</td>
			<td>Web Application</td>
			<td>webApp</td>
		</tr>
				<tr>
			<td>FeatureGUIDHere</td>
			<td>Feature GUID</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>Guid featureId = new Guid(&quot;00000000-0000-0000-0000-000000000000&quot;);<br />            SPWebApplication webApp = web.Site.WebApplication;<br />            if (webApp.WebService.Features[featureId] == null)<br />            {<br />                webApp.WebService.Features.Add(featureId);<br />            }<br />            </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.2. Activate a web feature</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>FeatureGUIDHere</td>
			<td>Feature GUID</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>Guid $featureGuid$ = new Guid(&quot;00000000-0000-0000-0000-000000000000&quot;);<br />            if ($web$.Features[$featureGuid$] == null) <br />            {<br />                $web$.Features.Add($featureGuid$);<br />            }</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.3. Deactivate a farm feature</h4>
				<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>SPWebApplication webApplication = web.Site.WebApplication;<br />            if (webApplication.WebService.Features[featureGuid] != null)<br />            {<br />                webApplication.WebService.Features.Remove(featureGuid);<br />            }</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.4. Deactivate a web feature</h4>
				<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>Guid featureGuid = new Guid(&quot;Feature-GUID-Here&quot;);<br />            if (web.Features[featureGuid] != null) <br />            {<br />                web.Features.Remove(featureGuid);<br />            }</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
							<h3>1.1.5. ListItems</h3>
							<h4>1.1.1.1. Create a list item (Optimized)</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>MyTitle</td>
			<td>MyTitle</td>
			<td>MyTitle</td>
		</tr>
				<tr>
			<td>EmptyQuery</td>
			<td>EmptyQuery</td>
			<td>EmptyQuery</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />const string EmptyQuery = &quot;0&quot;;<br />            SPQuery $q$ = new SPQuery();<br />            $q$.Query = EmptyQuery;<br />            SPListItem $item$ = list.GetItems($q$).Add();<br />            $item$[&quot;Title&quot;] = &quot;MyTitle&quot;;<br />            $item$.Update();<br />            // Do not use SPList.Items.Add as this will get all items in the list before adding a new SPListItem.  ( Thanks to Rob Garret )<br />      <br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.2. Create a list item</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>MyTitle</td>
			<td>Item title</td>
			<td>MyTitle</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPListItem $item$ = $list$.Items.Add(); <br />$item$[&quot;Title&quot;] = &quot; MyTitle&quot;; <br />$item$.Update(); <br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.3. Get the value of a link field from a list item</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>linkTitle</td>
			<td>Link title</td>
			<td>linkTitle</td>
		</tr>
				<tr>
			<td>linkURL</td>
			<td>Link URL</td>
			<td>linkURL</td>
		</tr>
				<tr>
			<td>URL</td>
			<td>URL</td>
			<td>URL</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPFieldUrlValue $value$ = new SPFieldUrlValue(item[&quot;URL&quot;].ToString());<br />string linkTitle = $value$.Description;<br />string linkURL = $value$.Url;<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.4. Get the value of a lookup field from a list item</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>FieldName</td>
			<td>Field name</td>
			<td>FieldName</td>
		</tr>
				<tr>
			<td>lookupID</td>
			<td>Lookup ID</td>
			<td>lookupID</td>
		</tr>
				<tr>
			<td>lookupValue</td>
			<td>Lookup value</td>
			<td>lookupValue</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPFieldLookupValue $fieldLookupValue$ = new SPFieldLookupValue($item$[&quot;FieldName&quot;].ToString());<br />int lookupID = $fieldLookupValue$.LookupId;<br />string lookupValue = $fieldLookupValue$.LookupValue;<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.5. Get the value of a user field from a list item</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>UserName</td>
			<td>UserName</td>
			<td>UserName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPFieldUserValue $userValue$ = new SPFieldUserValue($web$, $item$[&quot;UserName&quot;].ToString());<br />            SPUser $user$ = $userValue$.User;<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.6. Set the value of a link field of a list item</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>URL</td>
			<td>URL</td>
			<td>http://spsf.codeplex.com</td>
		</tr>
				<tr>
			<td>DESCRIPTION</td>
			<td>Description</td>
			<td>SharePoint Software Factory 2010</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPFieldUrlValue $fieldUrl$ = new SPFieldUrlValue();<br />$fieldUrl$.Description = &quot;SharePoint Software Factory 2010&quot;;<br />$fieldUrl$.Url = &quot;http://spsf.codeplex.com&quot;;<br />$item$[&quot;http://spsf.codeplex.com&quot;] = $fieldUrl$;<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.7. Set the value of a lookup field of a list item</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>value</td>
			<td>value</td>
			<td>value</td>
		</tr>
				<tr>
			<td>column</td>
			<td>Field name</td>
			<td>fieldName</td>
		</tr>
				<tr>
			<td>LookupValue</td>
			<td>Lookup value</td>
			<td>MyLookupValue</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPFieldLookupValue value = new SPFieldLookupValue($LookupId$,&quot;MyLookupValue&quot;);<br />$item$[&quot;fieldName&quot;] = value;<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.8. Set the value of a user field of a list item</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>userValue</td>
			<td>FieldUser value</td>
			<td>userValue</td>
		</tr>
				<tr>
			<td>UserName</td>
			<td>Field name</td>
			<td>UserName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPFieldUserValue userValue = new SPFieldUserValue($web$, $web$.CurrentUser.ID, $web$.CurrentUser.LoginName);<br /> item[&quot;UserName&quot;] = userValue;<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
							<h3>1.1.6. Lists and Libraries</h3>
							<h4>1.1.1.1. Add Column to DefaultView</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>defaultView</td>
			<td>Default view</td>
			<td>defaultView</td>
		</tr>
				<tr>
			<td>list</td>
			<td>SPList</td>
			<td>list</td>
		</tr>
				<tr>
			<td>ColumnName</td>
			<td>Column name</td>
			<td>ColumnName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />      SPView defaultView = list.DefaultView;<br />                defaultView.ViewFields.Add(&quot;ColumnName&quot;);<br />                defaultView.Update();<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.2. Add Field to List as Xml</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>strNewField</td>
			<td>New Field</td>
			<td>strNewField</td>
		</tr>
				<tr>
			<td>WebName</td>
			<td>Web Name</td>
			<td>WebName</td>
		</tr>
				<tr>
			<td>ListName</td>
			<td>ListName</td>
			<td>ListName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>using (SPWeb $oWebsite$ = SPContext.Current.Site.AllWebs[&quot;WebName&quot;])<br />{<br />    SPFieldCollection $collFields$ = $oWebsite$.Lists[&quot;ListName&quot;].Fields;<br /><br />    string strNewField = &quot;&lt;Field Type=\&quot;Calculated\&quot; &quot; +<br />    &quot;DisplayName=\&quot;New_Field_Display_Name\&quot; ResultType=\&quot;Currency\&quot; &quot; +<br />    &quot;ReadOnly=\&quot;TRUE\&quot; Name=\&quot;New_Field_Internal_Name\&quot;&gt;&quot; +<br />    &quot;&lt;Formula&gt;=Currency_Field_Name*100&lt;/Formula&gt;&quot; +<br />    &quot;&lt;FieldRefs&gt;&lt;FieldRef Name=\&quot;Currency_Field_Name\&quot; /&gt;&quot; + <br />    &quot;&lt;/FieldRefs&gt;&lt;/Field&gt;&quot;;<br /><br />    $collFields$.AddFieldAsXml(strNewField);<br />}<br /></pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ms457586.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ms457586.aspx</a>
</p>
								<h4>1.1.1.3. Add Field to List</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>FieldName</td>
			<td>Field name</td>
			<td>Fieldname</td>
		</tr>
				<tr>
			<td>ListName</td>
			<td>List name</td>
			<td>ListName</td>
		</tr>
				<tr>
			<td>WebName</td>
			<td>Web name</td>
			<td>WebName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>using (SPWeb $oWeb$ = SPContext.Current.Site.AllWebs[&quot;WebName&quot;])<br />{<br />    SPFieldCollection $collFields$ = $oWeb$.Lists[&quot;ListName&quot;].Fields;<br />    $collFields$.Add(&quot;Fieldname&quot;, Microsoft.SharePoint.SPFieldType.Text, <br />        true);<br />}</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ms472869.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ms472869.aspx</a>
</p>
								<h4>1.1.1.4. Check list existence</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>name</td>
			<td>List name</td>
			<td>listname</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>static bool DoesListExist(SPWeb $web$, string listname)<br />        {<br />            try<br />            {<br />                SPList list = $web$.Lists[listname];<br />                return true;<br />            }<br />            catch (ArgumentException){}<br />            return false;<br />        }</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.5. Create a list</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>Decisions</td>
			<td>Decisions</td>
			<td>Decisions</td>
		</tr>
				<tr>
			<td>web</td>
			<td>web</td>
			<td>web</td>
		</tr>
				<tr>
			<td>MyListTitle</td>
			<td>MyList Title</td>
			<td>MyListTitle</td>
		</tr>
				<tr>
			<td>MyListDescription</td>
			<td>MyList Description</td>
			<td>MyListDescription</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPListTemplate $template$ = web.ListTemplates[&quot;Decisions&quot;];<br />Guid $listGuid$ = web.Lists.Add(&quot;MyListTitle&quot;, &quot;MyListDescription&quot;, $template$);<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.6. Query and Update SPList (2007)</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>aList</td>
			<td>SPList</td>
			<td>list</td>
		</tr>
				<tr>
			<td>aWeb</td>
			<td>SPWeb</td>
			<td>web</td>
		</tr>
				<tr>
			<td>listname</td>
			<td>Name of the SPList in the given SPWeb</td>
			<td>listname</td>
		</tr>
				<tr>
			<td>query</td>
			<td>SPQuery</td>
			<td>query</td>
		</tr>
				<tr>
			<td>CAMLQuery</td>
			<td>CAML query to filter, order or group items</td>
			<td>camlQuery</td>
		</tr>
				<tr>
			<td>oSPListItems</td>
			<td>SPListItemCollection</td>
			<td>listItems</td>
		</tr>
				<tr>
			<td>aSPListItem</td>
			<td>SPListItem</td>
			<td>listItem</td>
		</tr>
				<tr>
			<td>title</td>
			<td>Title</td>
			<td>newTitle</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />        SPList list = web.Lists[listname];<br />        SPQuery query = new SPQuery();<br />        query.Query = camlQuery; // CAML Query <br />        SPListItemCollection listItems = list.GetItems(query); &#160;&#160;&#160;<br />        foreach(SPListItem listItem in listItems)<br />        {<br />            // Update item<br />            listItem[&quot;Title&quot;] = newTitle;<br />            listItem.Update();<br />        }<br />        list.Update();</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>SMC</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="" target="_new"></a>
</p>
								<h4>1.1.1.7. Set default ContentType on a list</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>defaultContentTypeName</td>
			<td>Default ContentType name</td>
			<td>DefaultContentTypeName</td>
		</tr>
				<tr>
			<td>folder</td>
			<td>SPFolder</td>
			<td>folder</td>
		</tr>
				<tr>
			<td>orderedContentTypes</td>
			<td>orderedContentTypes</td>
			<td>orderedContentTypes</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />      SPContentType $defaultContentType$ = $list$.ContentTypes[&quot;DefaultContentTypeName&quot;];<br />                    $list$.ContentTypesEnabled = true;<br /><br />                    SPFolder folder = $list$.RootFolder;<br />                    SPContentType[] orderedContentTypes = new SPContentType[1];<br />                    orderedContentTypes[0] = $defaultContentType$;<br /><br />                    folder.UniqueContentTypeOrder = orderedContentTypes;<br />                    folder.Update();<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.8. Update Field in List</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>ListName</td>
			<td>ListName</td>
			<td>ListName</td>
		</tr>
				<tr>
			<td>WebName</td>
			<td>WebName</td>
			<td>WebName</td>
		</tr>
				<tr>
			<td>FieldName</td>
			<td>FieldName</td>
			<td>FieldName</td>
		</tr>
				<tr>
			<td>DefaultValue</td>
			<td>DefaultValue</td>
			<td>DefaultValue</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPSite $oSiteCollection$ = SPContext.Current.Site;<br />SPList $oList$ = <br />    $oSiteCollection$.AllWebs[&quot;$WebName&quot;].Lists[&quot;ListName$&quot;];<br />SPField $oField$ = $oList$.Fields[&quot;FieldName&quot;];<br /><br />$oField$.DefaultValue = &quot;DefaultValue&quot;;<br />$oField$.Description = &quot;Description&quot;;<br />$oField$.Title = &quot;NewTitle&quot;;<br /><br />$oField$.Update();<br /></pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ms416125.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ms416125.aspx</a>
</p>
							<h3>1.1.7. Logging</h3>
							<h4>1.1.1.1. Log exception to ULS Logs with try catch.snippet</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>ex</td>
			<td>Exception</td>
			<td>ex</td>
		</tr>
				<tr>
			<td>MyCategory</td>
			<td>MyCategory</td>
			<td>MyCategory</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>try<br />{<br /><br />}<br />catch (Exception ex)<br />{<br />    SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory(&quot;MyCategory&quot;, TraceSeverity.Unexpected, EventSeverity.Error), TraceSeverity.Unexpected, ex.Message, ex.StackTrace);<br />}</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.2. Logging to SharePoint Trace Logs (2007)</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>ErrorText</td>
			<td>ErrorText</td>
			<td>ErrorText</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>// You must add a reference to Microsoft.Office.Server.dll (MOSS only)<br />            //This will always display the error level in the trace logs as High. <br />            Microsoft.Office.Server.Diagnostics.PortalLog.LogString(&quot;ErrorText&quot;);</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.3. Log to System Event Logs</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>ErrorText</td>
			<td>ErrorText</td>
			<td>ErrorText</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>SPSecurity.RunWithElevatedPrivileges(delegate()<br />            {<br />                System.Diagnostics.EventLog.WriteEntry(&quot;ErrorText&quot;);<br />            });<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
							<h3>1.1.8. Security</h3>
							<h4>1.1.1.1. Add RunWithElevatedPriviledges (Extended)</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>SiteInUserContext</td>
			<td>Site in UserContext</td>
			<td>SiteInUserContext</td>
		</tr>
				<tr>
			<td>webInUserContext</td>
			<td>Web in UserContext</td>
			<td>webInUserContext</td>
		</tr>
				<tr>
			<td>webGuid</td>
			<td>Guid</td>
			<td>webGuid</td>
		</tr>
				<tr>
			<td>siteGuid</td>
			<td>Guid</td>
			<td>siteGuid</td>
		</tr>
				<tr>
			<td>site</td>
			<td>site</td>
			<td>site</td>
		</tr>
				<tr>
			<td>web</td>
			<td>web</td>
			<td>web</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>SPSite SiteInUserContext = SPContext.Current.Site;<br />            SPWeb webInUserContext = SPContext.Current.Web;<br />            Guid webGuid = webInUserContext.ID;<br />            Guid siteGuid = SiteInUserContext.ID;<br />            SPSecurity.RunWithElevatedPrivileges(delegate()<br />            {<br />                // get the site in impersonated context<br />                using (SPSite site = new SPSite(siteGuid))<br />                {<br />                    // get the web in the impersonated context<br />                    using (SPWeb web = site.OpenWeb(webGuid))<br />                    {<br />                        // Your code goes here   <br /><br />                    }<br />                }<br />            });<br /></pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab, http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.2. Add RunWithElevatedPriviledges</h4>
				<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>SPSite $site$ = SPContext.Current.Site;<br />SPSecurity.RunWithElevatedPrivileges(delegate()<br />{<br />    using (SPSite $elevatedSite$ = new SPSite($site$.ID))<br />    {<br />        // run elevated code here<br />    }<br />});</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="" target="_new"></a>
</p>
								<h4>1.1.1.3. Allow anonymous access</h4>
				<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>$web$.AnonymousPermMask64 = SPBasePermissions.BrowseUserInfo | SPBasePermissions.UseRemoteAPIs | SPBasePermissions.UseClientIntegration | SPBasePermissions.OpenItems | SPBasePermissions.ViewListItems | SPBasePermissions.ViewPages | SPBasePermissions.Open | SPBasePermissions.ViewFormPages;<br /></pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.4. Assign Permissions</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>GroupName</td>
			<td>GroupName in SiteGroups</td>
			<td>GroupName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>if (!$web$.HasUniqueRoleAssignments)<br />                        {<br />                            $web$.BreakRoleInheritance(true);<br />                        }<br />                        SPRoleAssignment $roleAssignment$ = new SPRoleAssignment($web$.SiteGroups[&quot;GroupName&quot;]);<br />                        $roleAssignment$.RoleDefinitionBindings.Add($web$.RoleDefinitions.GetByType(SPRoleType.Reader));<br />                        $web$.RoleAssignments.Add($roleAssignment$);</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.5. Check the existence of a permission level</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>roleName</td>
			<td>roleName</td>
			<td>roleName</td>
		</tr>
				<tr>
			<td>doc</td>
			<td>RoleDefinitions XML</td>
			<td>doc</td>
		</tr>
				<tr>
			<td>node</td>
			<td>XMLNode</td>
			<td>node</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>private bool RoleExists(SPWeb $web$, string roleName)<br />        {<br />            //read the xml of the roledefinitions<br />            XmlDocument doc = new XmlDocument();<br />            doc.LoadXml($web$.RoleDefinitions.Xml);<br />            //search for the role with the name in the xml<br />            XmlNode node = doc.SelectSingleNode(&quot;//Role[@Name='&quot; + roleName + &quot;']&quot;);<br />            //if the search returned null, the role does not exist<br />            if (node == null)<br />                return false;<br />            else<br />                return true;<br />        }</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.6. Create a permission level</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>PermissionLevelName</td>
			<td>PermissionLevel name</td>
			<td>PermissionLevelName</td>
		</tr>
				<tr>
			<td>PermissionLevelDescription</td>
			<td>PermissionLevel description</td>
			<td>PermissionLevelDescription</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPRoleDefinition $role$ = new SPRoleDefinition();<br />$role$.BasePermissions = SPBasePermissions.OpenItems | SPBasePermissions.EditListItems | SPBasePermissions.ViewListItems | SPBasePermissions.ViewPages | SPBasePermissions.Open | SPBasePermissions.ViewFormPages;<br />$role$.Name = &quot;PermissionLevelName&quot;;<br />$role$.Description =&quot; PermissionLevelDescription&quot;;<br />$web$.RoleDefinitions.Add($role$);<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.7. Create a site group</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>GroupName</td>
			<td>Group name</td>
			<td>GroupName</td>
		</tr>
				<tr>
			<td>GroupDescription</td>
			<td>Group description</td>
			<td>GroupDescription</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />      $web$.SiteGroups.Add(&quot;GroupName&quot;, $web$.CurrentUser, null, &quot;GroupDescription&quot;);<br /></pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
							<h3>1.1.9. User Profiles</h3>
						<h3>1.1.10. Users</h3>
							<h4>1.1.1.1. Check ListPermissions of current user</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>webname</td>
			<td>Name of the SPWeb</td>
			<td>WebName</td>
		</tr>
				<tr>
			<td>listname</td>
			<td>Name of the SPList in the SPWeb</td>
			<td>ListName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPSite $aSite$ = SPControl.GetContextSite(Context);<br />using (SPWeb $aWeb$ = $aSite$.OpenWeb(&quot;WebName&quot;)) {<br />    SPList $aList$ = web.Lists[&quot;ListName&quot;];<br />    if (!$aList$.Permissions.DoesUserHavePermissions(SPRights.EditListItems)) {<br />        Response.Redirect(&quot;/_layouts/&quot; + SPUtility.AccessDeniedPage);<br />    }<br />}<br /></pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Matthias Einig</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="" target="_new"></a>
</p>
								<h4>1.1.1.2. Get memberships of current user</h4>
				<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />UserProfileManager $mgr$ = new UserProfileManager(ServerContext.GetContext(SPControl.GetContextSite(Context)));<br />UserProfile $profile$ = $mgr$.GetUserProfile(SPControl.GetContextWeb(Context).CurrentUser.LoginName);<br />if($profile$ != null){<br />    foreach (Membership $m$ in $profile$.Memberships.GetItems()) {<br /><br />    }<br />}</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Matthias Einig</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="" target="_new"></a>
</p>
								<h4>1.1.1.3. Get the current user</h4>
				<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>SPUser $currentUser$ = $web$.CurrentUser;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
							<h3>1.1.11. Webs and Sites</h3>
							<h4>1.1.1.1. Add a property to the property bag </h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>Bag</td>
			<td>SPPropertyBag</td>
			<td>bag</td>
		</tr>
				<tr>
			<td>PropertyName</td>
			<td>PropertyName</td>
			<td>PropertyName</td>
		</tr>
				<tr>
			<td>PropertyValue</td>
			<td>PropertyValue</td>
			<td>PropertyValue</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />SPPropertyBag bag =  $site$.RootWeb.Properties;<br />if (!bag.ContainsKey(&quot;PropertyName&quot;))<br />{            <br />      bag.Add(&quot;PropertyName&quot;, &quot;PropertyValue&quot;);<br />      bag.Update();<br />}<br />// Don't forget to dispose </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.2. Allow Unsafe Updates on SPSite instance</h4>
				<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>$site$.AllowUnsafeUpdates = true;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.3. Allow Unsafe Updates on SPWeb instance</h4>
				<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>$web$.AllowUnsafeUpdates = true;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.4. Cross-site Query</h4>
				<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />//Represents a query that can be performed across multiple lists in multiple Web sites <br />         //in the same Web site collection.<br />         SPSiteDataQuery $query$ = new SPSiteDataQuery();<br /> <br />         //query all lists created from the contacts template.<br />         $query$.Lists = &quot;&lt;Lists ServerTemplate=\&quot;105\&quot; /&gt;&quot;;<br /> <br />         // Get the Title (Last Name) and FirstName fields.<br />         $query$.ViewFields = &quot;&lt;FieldRef Name=\&quot;Title\&quot; /&gt;&quot; +<br />                            &quot;&lt;FieldRef Name=\&quot;FirstName\&quot; Nullable=\&quot;TRUE\&quot;/&gt;&quot;;<br /> <br />         // Set the sort order.<br />         $query$.Query = &quot;&lt;OrderBy&gt;&quot; + <br />                           &quot;&lt;FieldRef Name=\&quot;Title\&quot; /&gt;&quot; + <br />                         &quot;&lt;/OrderBy&gt;&quot;;<br /> <br />         // Query all Web sites in this site collection.<br />         $query$.Webs = &quot;&lt;Webs Scope=\&quot;SiteCollection\&quot; /&gt;&quot;;<br /> <br />         DataTable $dt$ = $web$.GetSiteData($query$);<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.5. Get reference to current SPSite</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>site</td>
			<td>Current SPSite </td>
			<td>site</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>SPSite site  = SPContext.Current.Site;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.6. Get reference to current SPWeb</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>web</td>
			<td>SPWeb</td>
			<td>web</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>SPWeb web  = SPContext.Current.Web;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.7. Get SPWeb by URL</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>WebUrl</td>
			<td>URL of web</td>
			<td>http://localhost/web</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />using(SPSite $oSite$ = new SPSite(&quot;http://localhost/web&quot;))<br />{<br />    using(SPWeb $oWeb$ = $oSite$.OpenWeb())<br />    {<br />          <br />    }<br />}<br /></pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Matthias Einig</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/aa973248.aspx" target="_new">http://msdn.microsoft.com/en-us/library/aa973248.aspx</a>
</p>
								<h4>1.1.1.8. Iterate through SPSiteCollection</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>oSPGlobalAdmin</td>
			<td>SPGlobalAdmin</td>
			<td>globalAdmin</td>
		</tr>
				<tr>
			<td>aSites</td>
			<td>SPSiteCollection with all sites</td>
			<td>sites</td>
		</tr>
				<tr>
			<td>oSPSite</td>
			<td>Current SPSite</td>
			<td>site</td>
		</tr>
				<tr>
			<td>i</td>
			<td>Iterator</td>
			<td>i</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />        SPGlobalAdmin globalAdmin    = new SPGlobalAdmin();<br />        SPSiteCollection sites         = globalAdmin.VirtualServers[0].Sites;<br />        for(int i = 0; i &lt; sites.Count; i++)<br />        {<br />           using(SPSite site = sites[i])<br />           {<br />              <br />           }<br />        }<br />        globalAdmin.Dispose();<br /> &#160;&#160;&#160;$end$</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Matthias Einig</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/aa973248.aspx" target="_new">http://msdn.microsoft.com/en-us/library/aa973248.aspx</a>
</p>
								<h4>1.1.1.9. Iterate through SPSite.AllWebs Property (SPWebCollection)</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>oSPSite</td>
			<td>Current SPSite</td>
			<td>site</td>
		</tr>
				<tr>
			<td>oSPWeb</td>
			<td>SPWeb</td>
			<td>web</td>
		</tr>
				<tr>
			<td>i</td>
			<td>Iterator</td>
			<td>i</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />        SPWeb web;<br />        SPSite site = SPControl.GetContextSite(Context);<br />        for(int i = 0; i &lt; site.AllWebs.Count; i++)<br />        {<br />           using(web = site.AllWebs[i])<br />           {<br />           <br />           }<br />        }</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Matthias Einig</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/aa973248.aspx" target="_new">http://msdn.microsoft.com/en-us/library/aa973248.aspx</a>
</p>
								<h4>1.1.1.10. Remove a property from the property bag </h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>Bag</td>
			<td>PropertyBag</td>
			<td>bag</td>
		</tr>
				<tr>
			<td>PropertyName</td>
			<td>PropertyName</td>
			<td>PropertyName</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>//using Microsoft.SharePoint.Utilities;<br />//http://SPCodeSnippets.CodePlex.com<br />SPPropertyBag bag =  site.RootWeb.Properties;<br />if (bag.ContainsKey(&quot;PropertyName&quot;))<br />{<br />    bag[&quot;PropertyName&quot;]=null;                            <br />    bag.Update();<br />}<br />// Don't forget to dispose </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.11. Using SPSite and SPWeb in a FeatureReceiver</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>site</td>
			<td>SPSite</td>
			<td>site</td>
		</tr>
				<tr>
			<td>web</td>
			<td>SPWeb</td>
			<td>web</td>
		</tr>
				<tr>
			<td>properties</td>
			<td>properties</td>
			<td>properties</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>SPSite site = (properties.Feature.Parent.GetType() == typeof(SPSite)) ? (SPSite)properties.Feature.Parent : (SPSite)((SPWeb)properties.Feature.Parent).Site)            <br />            SPWeb web = site.OpenWeb();</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.12. Using SPSite And SPWeb [Event Receiver]</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>site</td>
			<td>SPSite</td>
			<td>site</td>
		</tr>
				<tr>
			<td>web</td>
			<td>SPWeb</td>
			<td>web</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>using (SPSite site = new SPSite(properties.SiteId))<br />            {<br />                using (SPWeb web = site.OpenWeb(properties.RelativeWebUrl))<br />                {<br /><br />                }<br />            }</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
								<h4>1.1.1.13. Using SPSite And SPWeb</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>site</td>
			<td>SPSite</td>
			<td>site</td>
		</tr>
				<tr>
			<td>web</td>
			<td>SPWeb</td>
			<td>web</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>using (SPSite site = new SPSite(SPContext.Current.Site.ID))<br />                {<br />                    // get the web in the impersonated context<br />                    using (SPWeb web = site.OpenWeb(SPContext.Current.Web.ID))<br />                    {<br />                        // Your code goes here   <br /><br />                    }<br />                }</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Ayman El-Hattab http://ayman-elhattab.blogspot.com
      </p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://SPCodeSnippets.codeplex.com" target="_new">http://SPCodeSnippets.codeplex.com</a>
</p>
							<h3>1.1.12. Workflows</h3>
							<h4>1.1.1.1. Start Workflow</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>TemplateID</td>
			<td>ID of the workflow</td>
			<td>TemplateID</td>
		</tr>
				<tr>
			<td>WebUrl</td>
			<td>Url of SPWeb</td>
			<td>http://MyServer/sites/MySiteCollection/MyWebSite</td>
		</tr>
				<tr>
			<td>WorkflowTitle</td>
			<td>Title of the workflow</td>
			<td>Workflow</td>
		</tr>
				<tr>
			<td>taskListID</td>
			<td>taskListID</td>
			<td>taskListID</td>
		</tr>
				<tr>
			<td>historyListID</td>
			<td>historyListID</td>
			<td>historyListID</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>using (SPWeb $oWeb$ = new SPSite(&quot;http://MyServer/sites/MySiteCollection/MyWebSite&quot;).OpenWeb())<br />{<br />    Guid taskListID = $oWeb$.Lists.Add(&quot;Tasks for workflow&quot;, &quot;&quot;, SPListTemplateType.Tasks);<br />    Guid historyListID = $oWeb$.Lists.Add(&quot;History for workflow&quot;, &quot;&quot;, SPListTemplateType.WorkflowHistory);<br /><br />    SPWorkflowTemplate $template$ = $oWeb$.WorkflowTemplates[TemplateID];<br />    SPWorkflowAssociation $association$ =<br />            SPWorkflowAssociation.CreateWebAssociation($template$,<br />            &quot;Workflow&quot;,<br />            newSite.Lists[taskListID],<br />            newSite.Lists[historyListID]);&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br />    $oWeb$.AddWorkflowAssociation($association$);<br />    $oWeb$.Site.WorkflowManager.StartWorkflow(<br />            $oWeb$,<br />            $association$, &quot;&quot;, SPWorkflowRunOptions.Synchronous);<br />}</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="" target="_new"></a>
</p>
						<h2>1.3. XML</h2>
					<h3>1.1.1. PowerShell</h3>
						<h3>1.1.2. Ribbon Controls</h3>
							<h4>1.1.1.1. Button</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonButton".</td>
			<td>AppName.Button</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the button.</td>
			<td>Button</td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>Button</td>
		</tr>
				<tr>
			<td>tooltiptitle</td>
			<td>Optional. The text that appears as the title of the tooltip.</td>
			<td>Title</td>
		</tr>
				<tr>
			<td>tooltipdescription</td>
			<td>Optional. The text that appears in the body of the tooltip.</td>
			<td>Description</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;Button<br />                Id=&quot;Ribbon.AppName.Button&quot;<br />                Alt=&quot;Button&quot;<br />                Command=&quot;Ribbon.AppName.Button_command&quot;<br />                Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                LabelText=&quot;Button&quot;<br />                Sequence=&quot;10&quot;<br />                TemplateAlias=&quot;o2&quot;<br />                ToolTipTitle=&quot;Title&quot;<br />                ToolTipDescription=&quot;Description&quot;/&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458366.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458366.aspx</a>
</p>
								<h4>1.1.1.2. Checkbox</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. Identifies the control. The value can be a string representation of a GUID or a unique term, such as "Ribbon.Library.Share.NewRibbonCheckBox".</td>
			<td>AppName.CheckBox</td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>Checkbox</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the checkbox.</td>
			<td></td>
		</tr>
				<tr>
			<td>tooltiptitle</td>
			<td>Optional. The text that appears as the title of the tooltip.</td>
			<td>Title</td>
		</tr>
				<tr>
			<td>tooltipdescription</td>
			<td>Optional. The text that appears in the body of the tooltip.</td>
			<td>Description</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />        &lt;CheckBox<br />            Id=&quot;Ribbon.AppName.CheckBox&quot;<br />            Command=&quot;Ribbon.AppName.CheckBox_command&quot;<br />            LabelText=&quot;Checkbox&quot;<br />            Alt=&quot;&quot;<br />            Sequence=&quot;10&quot;<br />            TemplateAlias=&quot;o2&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;ToolTipTitle=&quot;Title&quot;<br />            ToolTipDescription=&quot;Description&quot;/&gt;    <br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458368.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458368.aspx</a>
</p>
								<h4>1.1.1.3. Color Picker</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonColorPicker".</td>
			<td>AppName.ColorPicker</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the button.</td>
			<td>ColorPicker</td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>ColorPicker</td>
		</tr>
				<tr>
			<td>tooltiptitle</td>
			<td>Optional. The text that appears as the title of the tooltip.</td>
			<td>ColorPicker</td>
		</tr>
				<tr>
			<td>tooltipdescription</td>
			<td>Optional. The text that appears in the body of the tooltip.</td>
			<td>Description of ColorPicker</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;FlyoutAnchor&#160;&#160;&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Id=&quot;Ribbon.AppName.ColorPicker&quot;<br />            Alt=&quot;ColorPicker&quot;<br />            Command=&quot;Ribbon.AppName.ColorPicker_command&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />            LabelText=&quot;ColorPicker&quot;<br />            Sequence=&quot;10&quot;<br />            ToolTipTitle=&quot;ColorPicker&quot;<br />            ToolTipDescription=&quot;Description of ColorPicker&quot;       <br />            PopulateDynamically=&quot;false&quot;<br />            PopulateOnlyOnce=&quot;true&quot;<br />            PopulateQueryCommand=&quot;Ribbon.AppName.ColorPicker_Query_Command&quot;<br />            TemplateAlias=&quot;o2&quot;&gt;<br />            &lt;Menu Id=&quot;Ribbon.AppName.ColorPicker.Menu&quot;&gt;<br />              &lt;MenuSection<br />                Id=&quot;Ribbon.AppName.ColorPicker.Menu.MenuSection&quot;<br />                Title=&quot;Custom ColorPicker&quot;&gt;<br />                &lt;Controls Id=&quot;Ribbon.AppName.ColorPicker.Menu.MenuSection.Controls&quot;&gt;<br />                  &lt;ColorPicker<br />                    Id=&quot;Ribbon.AppName.ColorPicker.Menu.MenuSection.ColorPicker&quot;<br />                    Command=&quot;Ribbon.AppName.ColorPicker.Menu.MenuSection.ColorPicker_CMD&quot;<br />                    CommandPreview=&quot;Ribbon.AppName.ColorPicker.Menu.MenuSection.ColorPicker_PRE_CMD&quot;<br />                    CommandRevert=&quot;Ribbon.AppName.ColorPicker.Menu.MenuSection.ColorPicker_REV_CMD&quot; &gt;<br />                    &lt;Colors&gt;<br />                      &lt;Color Title=&quot;Light 1&quot; Style=&quot;ms-rteThemeBackColor-1-0&quot; DisplayColor=&quot;#ffffff&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 1&quot; Style=&quot;ms-rteThemeBackColor-2-0&quot; DisplayColor=&quot;#000000&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 2&quot; Style=&quot;ms-rteThemeBackColor-3-0&quot; DisplayColor=&quot;#e9f5fa&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 2&quot; Style=&quot;ms-rteThemeBackColor-4-0&quot; DisplayColor=&quot;#33557b&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 1&quot; Style=&quot;ms-rteThemeBackColor-5-0&quot; DisplayColor=&quot;#00adee&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 2&quot; Style=&quot;ms-rteThemeBackColor-6-0&quot; DisplayColor=&quot;#ec008c&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 3&quot; Style=&quot;ms-rteThemeBackColor-7-0&quot; DisplayColor=&quot;#1d71b6&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 4&quot; Style=&quot;ms-rteThemeBackColor-8-0&quot; DisplayColor=&quot;#fd9f08&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 5&quot; Style=&quot;ms-rteThemeBackColor-9-0&quot; DisplayColor=&quot;#62ce33&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 6&quot; Style=&quot;ms-rteThemeBackColor-10-0&quot; DisplayColor=&quot;#fae032&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 1 Lightest&quot; Style=&quot;ms-rteThemeBackColor-1-1&quot; DisplayColor=&quot;#f2f2f2&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 1 Lightest&quot; Style=&quot;ms-rteThemeBackColor-2-1&quot; DisplayColor=&quot;#7f7f7f&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 2 Lightest&quot; Style=&quot;ms-rteThemeBackColor-3-1&quot; DisplayColor=&quot;#c1e3f1&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 2 Lightest&quot; Style=&quot;ms-rteThemeBackColor-4-1&quot; DisplayColor=&quot;#cfddeb&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 1 Lightest&quot; Style=&quot;ms-rteThemeBackColor-5-1&quot; DisplayColor=&quot;#c8f0ff&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 2 Lightest&quot; Style=&quot;ms-rteThemeBackColor-6-1&quot; DisplayColor=&quot;#ffc8e8&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 3 Lightest&quot; Style=&quot;ms-rteThemeBackColor-7-1&quot; DisplayColor=&quot;#cbe3f6&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 4 Lightest&quot; Style=&quot;ms-rteThemeBackColor-8-1&quot; DisplayColor=&quot;#feebcd&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 5 Lightest&quot; Style=&quot;ms-rteThemeBackColor-9-1&quot; DisplayColor=&quot;#e0f5d6&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 6 Lightest&quot; Style=&quot;ms-rteThemeBackColor-10-1&quot; DisplayColor=&quot;#fef8d6&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 1 Lighter&quot; Style=&quot;ms-rteThemeBackColor-1-2&quot; DisplayColor=&quot;#d8d8d8&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 1 Lighter&quot; Style=&quot;ms-rteThemeBackColor-2-2&quot; DisplayColor=&quot;#595959&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 2 Lighter&quot; Style=&quot;ms-rteThemeBackColor-3-2&quot; DisplayColor=&quot;#86c8e3&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 2 Lighter&quot; Style=&quot;ms-rteThemeBackColor-4-2&quot; DisplayColor=&quot;#a0bad8&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 1 Lighter&quot; Style=&quot;ms-rteThemeBackColor-5-2&quot; DisplayColor=&quot;#92e1ff&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 2 Lighter&quot; Style=&quot;ms-rteThemeBackColor-6-2&quot; DisplayColor=&quot;#ff91d2&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 3 Lighter&quot; Style=&quot;ms-rteThemeBackColor-7-2&quot; DisplayColor=&quot;#97c7ee&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 4 Lighter&quot; Style=&quot;ms-rteThemeBackColor-8-2&quot; DisplayColor=&quot;#fed89c&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 5 Lighter&quot; Style=&quot;ms-rteThemeBackColor-9-2&quot; DisplayColor=&quot;#c0ebad&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 6 Lighter&quot; Style=&quot;ms-rteThemeBackColor-10-2&quot; DisplayColor=&quot;#fef8d6&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 1 Medium&quot; Style=&quot;ms-rteThemeBackColor-1-3&quot; DisplayColor=&quot;#bfbfbf&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 1 Medium&quot; Style=&quot;ms-rteThemeBackColor-2-3&quot; DisplayColor=&quot;#3f3f3f&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 2 Medium&quot; Style=&quot;ms-rteThemeBackColor-3-3&quot; DisplayColor=&quot;#2c98c4&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 2 Medium&quot; Style=&quot;ms-rteThemeBackColor-4-3&quot; DisplayColor=&quot;#7098c4&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 1 Medium&quot; Style=&quot;ms-rteThemeBackColor-5-3&quot; DisplayColor=&quot;#5bd2ff&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 2 Medium&quot; Style=&quot;ms-rteThemeBackColor-6-3&quot; DisplayColor=&quot;#ff5abc&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 3 Medium&quot; Style=&quot;ms-rteThemeBackColor-7-3&quot; DisplayColor=&quot;#64abe6&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 4 Medium&quot; Style=&quot;ms-rteThemeBackColor-8-3&quot; DisplayColor=&quot;#fdc56a&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 5 Medium&quot; Style=&quot;ms-rteThemeBackColor-9-3&quot; DisplayColor=&quot;#b9de8c&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 6 Medium&quot; Style=&quot;ms-rteThemeBackColor-10-3&quot; DisplayColor=&quot;#fcec84&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 1 Darker&quot; Style=&quot;ms-rteThemeBackColor-1-4&quot; DisplayColor=&quot;#a5a5a5&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 1 Darker&quot; Style=&quot;ms-rteThemeBackColor-2-4&quot; DisplayColor=&quot;#262626&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 2 Darker&quot; Style=&quot;ms-rteThemeBackColor-3-4&quot; DisplayColor=&quot;#164c62&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 2 Darker&quot; Style=&quot;ms-rteThemeBackColor-4-4&quot; DisplayColor=&quot;#26405c&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 1 Darker&quot; Style=&quot;ms-rteThemeBackColor-5-4&quot; DisplayColor=&quot;#0081b2&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 2 Darker&quot; Style=&quot;ms-rteThemeBackColor-6-4&quot; DisplayColor=&quot;#b10069&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 3 Darker&quot; Style=&quot;ms-rteThemeBackColor-7-4&quot; DisplayColor=&quot;#155488&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 4 Darker&quot; Style=&quot;ms-rteThemeBackColor-8-4&quot; DisplayColor=&quot;#c27801&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 5 Darker&quot; Style=&quot;ms-rteThemeBackColor-9-4&quot; DisplayColor=&quot;#499b25&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 6 Darker&quot; Style=&quot;ms-rteThemeBackColor-10-4&quot; DisplayColor=&quot;#dbbf05&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 1 Darkest&quot; Style=&quot;ms-rteThemeBackColor-1-5&quot; DisplayColor=&quot;#7f7f7f&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 1 Darkest&quot; Style=&quot;ms-rteThemeBackColor-2-5&quot; DisplayColor=&quot;#0c0c0c&quot; /&gt;<br />                      &lt;Color Title=&quot;Light 2 Darkest&quot; Style=&quot;ms-rteThemeBackColor-3-5&quot; DisplayColor=&quot;#081e27&quot; /&gt;<br />                      &lt;Color Title=&quot;Dark 2 Darkest&quot; Style=&quot;ms-rteThemeBackColor-4-5&quot; DisplayColor=&quot;#192a3e&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 1 Darkest&quot; Style=&quot;ms-rteThemeBackColor-5-5&quot; DisplayColor=&quot;#005677&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 2 Darkest&quot; Style=&quot;ms-rteThemeBackColor-6-5&quot; DisplayColor=&quot;#760046&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 3 Darkest&quot; Style=&quot;ms-rteThemeBackColor-7-5&quot; DisplayColor=&quot;#0e385b&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 4 Darkest&quot; Style=&quot;ms-rteThemeBackColor-8-5&quot; DisplayColor=&quot;#815001&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 5 Darkest&quot; Style=&quot;ms-rteThemeBackColor-9-5&quot; DisplayColor=&quot;#316819&quot; /&gt;<br />                      &lt;Color Title=&quot;Accent 6 Darkest&quot; Style=&quot;ms-rteThemeBackColor-10-5&quot; DisplayColor=&quot;#927f03&quot; /&gt;<br />                    &lt;/Colors&gt;<br />                  &lt;/ColorPicker&gt;<br />                &lt;/Controls&gt;<br />              &lt;/MenuSection&gt;<br />            &lt;/Menu&gt;<br />          &lt;/FlyoutAnchor&gt;<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458441.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458441.aspx</a>
</p>
								<h4>1.1.1.4. Dynamic DropDown</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.DynamicDropDown".</td>
			<td>AppName.DynamicDropDown</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the button.</td>
			<td></td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>DynamicDropDown</td>
		</tr>
				<tr>
			<td>tooltiptitle</td>
			<td>Optional. The text that appears as the title of the tooltip.</td>
			<td>Title</td>
		</tr>
				<tr>
			<td>tooltipdescription</td>
			<td>Optional. The text that appears in the body of the tooltip.</td>
			<td>Description</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />         &lt;DropDown<br />            Id=&quot;Ribbon.AppName.DynamicDropDown&quot;<br />            Alt=&quot;&quot;<br />            Command=&quot;Ribbon.AppName.DynamicDropDown_command&quot;            <br />            CommandMenuOpen=&quot;Ribbon.AppName.DynamicDropDown_MenuOpen_command&quot;<br />            CommandMenuClose=&quot;Ribbon.AppName.DynamicDropDown_MenuClose_command&quot;<br />            PopulateDynamically=&quot;true&quot;<br />            PopulateOnlyOnce=&quot;false&quot;<br />            PopulateQueryCommand=&quot;Ribbon.$tabName$.$groupName$.$controlID$_PopulateQuery_CMD&quot;<br />            Width=&quot;125px&quot;     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Sequence=&quot;10&quot;<br />            TemplateAlias=&quot;o2&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;ToolTipTitle=&quot;Title&quot;<br />            ToolTipDescription=&quot;Description&quot;&gt;<br />          &lt;/DropDown&gt;<br />          </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458462.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458462.aspx</a>
</p>
								<h4>1.1.1.5. FlyoutAnchor</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.FlyoutAnchor".</td>
			<td>AppName.FlyoutAnchor</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the control.</td>
			<td>FlyoutAnchor</td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>FlyoutAnchor</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;FlyoutAnchor<br />                    Id=&quot;Ribbon.AppName.FlyoutAnchor&quot;<br />                    Command=&quot;Ribbon.AppName.FlyoutAnchor_CMD&quot;<br />                    Alt=&quot;FlyoutAnchor&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                    LabelText=&quot;FlyoutAnchor&quot;                    <br />                    Sequence=&quot;10&quot;<br />                    TemplateAlias=&quot;o2&quot;<br />                    ToolTipTitle=&quot;FlyoutAnchor&quot;<br />                    ToolTipDescription=&quot;FlyoutAnchor&quot;&gt;<br />                    &lt;Menu Id=&quot;Ribbon.AppName.FlyoutAnchor.Menu&quot;&gt;<br />                      &lt;MenuSection<br />                        Id=&quot;Ribbon.AppName.FlyoutAnchor.Menu.MenuSection&quot;<br />                        Sequence=&quot;10&quot;<br />                        Scrollable=&quot;false&quot;&gt;<br />                        &lt;Controls Id=&quot;Ribbon.AppName.FlyoutAnchor.Menu.MenuSection.Controls&quot;&gt;<br />                          &lt;Button<br />                            Id=&quot;Ribbon.AppName.FlyoutAnchor.Menu.MenuSection.Button1&quot;<br />                            Sequence=&quot;10&quot;<br />                            Command=&quot;Ribbon.AppName.FlyoutAnchor.Menu.MenuSection.Button1_CMD&quot;<br />                            Alt=&quot;Ribbon.AppName.FlyoutAnchor.Menu.MenuSection.Button1_ALT&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                            LabelText=&quot;Button1&quot;<br />                            MenuItemId=&quot;splitcellshorizontal&quot;<br />                        /&gt;<br />                          &lt;Button<br />                            Id=&quot;Ribbon.AppName.FlyoutAnchor.Menu.MenuSection.Button2&quot;<br />                            Sequence=&quot;20&quot;<br />                            Command=&quot;Ribbon.AppName.FlyoutAnchor.Menu.MenuSection.Button2_CMD&quot;<br />                            Alt=&quot;Ribbon.AppName.FlyoutAnchor.Menu.MenuSection.Button2_ALT&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                            LabelText=&quot;Button2&quot;<br />                            MenuItemId=&quot;splitcellsvertical&quot;<br />                        /&gt;<br />                        &lt;/Controls&gt;<br />                      &lt;/MenuSection&gt;<br />                    &lt;/Menu&gt;<br />                  &lt;/FlyoutAnchor&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458372.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458372.aspx</a>
</p>
								<h4>1.1.1.6. Ribbon Gallery Flyout</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.GalleryFlyout".</td>
			<td>AppName.GalleryFlyout</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the control.</td>
			<td>GalleryFlyout</td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>GalleryFlyout</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;FlyoutAnchor<br />                Id=&quot;Ribbon.AppName.GalleryFlyout&quot;<br />                Sequence=&quot;10&quot;<br />                Alt=&quot;GalleryFlyout&quot;<br />                LabelText=&quot;GalleryFlyout&quot;<br />                Command=&quot;Ribbon.AppName.GalleryFlyout_CMD&quot;<br />                PopulateDynamically=&quot;false&quot;<br />                PopulateOnlyOnce=&quot;true&quot;<br />                PopulateQueryCommand=&quot;Ribbon.AppName.GalleryFlyout_Query_CMD&quot;<br />                TemplateAlias=&quot;o2&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                ToolTipTitle=&quot;GalleryFlyout&quot;<br />                ToolTipDescription=&quot;Style Gallery Flyout&quot;&gt;<br />                &lt;Menu Id=&quot;Ribbon.AppName.GalleryFlyout.Menu&quot;&gt;<br />                  &lt;MenuSection Id=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection&quot;&gt;<br />                    &lt;Gallery<br />                      Id=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery&quot;<br />                      Command=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery_CMD&quot;<br />                      QueryCommand=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery_Query_CMD&quot;<br />                      CommandPreview=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery_Preview_CMD&quot;<br />                      CommandRevert=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery_Revert_CMD&quot;<br />                      ElementDimensions=&quot;Size96by72&quot;<br />                      Width=&quot;4&quot;&gt;<br />                      &lt;GalleryButton<br />                        Id=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery.GalleryButton1&quot;<br />                        Alt=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery.GalleryButton1_ALT&quot;<br />                        InnerHTML=&quot;&lt;div style=&#39;text-overflow:ellipsis&#39;&gt;&lt;div style=&#39;height:47px;overflow:hidden;white-space:nowrap&#39;&gt;&lt;img src=&#39;/_layouts/images/blank.gif&#39; style=&#39;vertical-align:middle;height:47px;width:1px;&#39;&gt;&lt;span class=&#39;ms-rteStyle-1&#39;&gt;AaBbCcDdEeFfGgHhIiJjKkLlMm&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Headline&lt;/div&gt;&lt;/div&gt;&quot;<br />                        Command=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery.GalleryButton1_CMD&quot;<br />                        CommandType=&quot;OptionSelection&quot;<br />                        CommandPreview=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery.GalleryButton1_Preview_CMD&quot;<br />                        CommandRevert=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery.GalleryButton1_Revert_CMD&quot;/&gt;<br />                      &lt;GalleryButton<br />                        Id=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery.GalleryButton2&quot;<br />                        Alt=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery.GalleryButton_ALT&quot;<br />                        InnerHTML=&quot;&lt;div style=&#39;text-overflow:ellipsis&#39;&gt;&lt;div style=&#39;height:47px;overflow:hidden;white-space:nowrap&#39;&gt;&lt;img src=&#39;/_layouts/images/blank.gif&#39; style=&#39;vertical-align:middle;height:47px;width:1px;&#39;&gt;&lt;span class=&#39;ms-rteStyle-2&#39;&gt;AaBbCcDdEeFfGgHhIiJjKkLlMm&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Subhead&lt;/div&gt;&lt;/div&gt;&quot;<br />                        Command=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery.GalleryButton2_CMD&quot;<br />                        CommandType=&quot;OptionSelection&quot;<br />                        CommandPreview=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery.GalleryButton2_Preview_CMD&quot;<br />                        CommandRevert=&quot;Ribbon.AppName.GalleryFlyout.Menu.MenuSection.Gallery.GalleryButton2_Revert_CMD&quot; /&gt;<br />                    &lt;/Gallery&gt;<br />                  &lt;/MenuSection&gt;<br />                &lt;/Menu&gt;<br />              &lt;/FlyoutAnchor&gt;<br />      </pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458372.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458372.aspx</a>
</p>
								<h4>1.1.1.7. Label</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonLabel".</td>
			<td>AppName.Label</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the label.</td>
			<td>Label</td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>Label</td>
		</tr>
				<tr>
			<td>tooltiptitle</td>
			<td>Optional. The text that appears as the title of the tooltip.</td>
			<td>Title</td>
		</tr>
				<tr>
			<td>tooltipdescription</td>
			<td>Optional. The text that appears in the body of the tooltip.</td>
			<td>Description</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;Label<br />            Id=&quot;Ribbon.AppName.Label&quot;<br />            LabelText=&quot;Label&quot;               <br />            Command=&quot;Ribbon.AppName.Label.Label_command&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br />            Sequence=&quot;10&quot;<br />            TemplateAlias=&quot;o2&quot; /&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458414.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458414.aspx</a>
</p>
								<h4>1.1.1.8. MRUSplitButton</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonMRUSplitButton".</td>
			<td>AppName.MRUSplitButton</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the button.</td>
			<td>MRUSplitButton</td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>MRUSplitButton</td>
		</tr>
				<tr>
			<td>tooltiptitle</td>
			<td>Optional. The text that appears as the title of the tooltip.</td>
			<td>Title</td>
		</tr>
				<tr>
			<td>tooltipdescription</td>
			<td>Optional. The text that appears in the body of the tooltip.</td>
			<td>Description</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;MRUSplitButton<br />                Id=&quot;Ribbon.AppName.MRUSplitButton&quot;<br />                Sequence=&quot;10&quot;<br />                Alt=&quot;MRUSplitButton&quot;<br />                Command=&quot;Ribbon.AppName.MRUSplitButton_CMD&quot;<br />                MenuCommand=&quot;Ribbon.AppName.MRUSplitButton_Menu_CMD&quot;<br />                InitialItem=&quot;Ribbon.AppName.MRUSplitButton.Button1&quot;                <br />                TemplateAlias=&quot;o1&quot;<br />                ToolTipTitle=&quot;Title&quot;<br />                ToolTipDescription=&quot;Description&quot;&gt;<br />                &lt;Menu Id=&quot;Ribbon.AppName.MRUSplitButton.Menu&quot;&gt;<br />                  &lt;MenuSection Id=&quot;Ribbon.AppName.MRUSplitButton.Menu.MenuSection&quot; Sequence=&quot;10&quot; DisplayMode=&quot;Menu32&quot;&gt;<br />                    &lt;Controls Id=&quot;Ribbon.AppName.MRUSplitButton.Menu.MenuSection.Controls&quot;&gt;<br />                      &lt;Button<br />                        Id=&quot;Ribbon.AppName.MRUSplitButton.Menu.MenuSection.Button1&quot;<br />                        MenuItemId=&quot;Ribbon.AppName.MRUSplitButton.Button1&quot;<br />                        Sequence=&quot;10&quot;<br />                        Alt=&quot;Ribbon.AppName.MRUSplitButton.Menu.MenuSection.Button1_ALT&quot;<br />                        CommandType=&quot;OptionSelection&quot;<br />                        Command=&quot;Ribbon.AppName.MRUSplitButton.Menu.MenuSection.Button1_CMD&quot;<br />                        CommandValueId=&quot;Ribbon.AppName.MRUSplitButton.Menu.MenuSection.Button1_ValueID_CMD&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                        LabelText=&quot;MRU_Btn1&quot;/&gt;<br />                      &lt;Button<br />                        Id=&quot;Ribbon.AppName.MRUSplitButton.Menu.MenuSection.Button2&quot;<br />                        MenuItemId=&quot;Ribbon.AppName.MRUSplitButton.Button2&quot;<br />                        Sequence=&quot;20&quot;<br />                        Alt=&quot;Ribbon.AppName.MRUSplitButton.Menu.MenuSection.Button2_ALT&quot;<br />                        CommandType=&quot;OptionSelection&quot;<br />                        Command=&quot;Ribbon.AppName.MRUSplitButton.Menu.MenuSection.Button2_CMD&quot;<br />                        CommandValueId=&quot;Ribbon.AppName.MRUSplitButton.Menu.MenuSection.Button2_ValueID_CMD&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                        LabelText=&quot;MRU_Btn2&quot;/&gt;<br />                    &lt;/Controls&gt;<br />                  &lt;/MenuSection&gt;<br />                &lt;/Menu&gt;<br />              &lt;/MRUSplitButton&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458360.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458360.aspx</a>
</p>
								<h4>1.1.1.9. Spinner</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonSpinner".</td>
			<td>AppName.Spinner</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;Spinner<br />                   Id=&quot;Ribbon.AppName.Spinner&quot;<br />                   DefaultUnit=&quot;pixel&quot;<br />                   DefaultValue=&quot;10&quot;                   <br />                   AltUpArrow=&quot;Up&quot;<br />                   AltDownArrow=&quot;Down&quot;<br />                   AccelerationInterval=&quot;125&quot;<br />                   MultiplierInterval=&quot;2000&quot;<br />                   Command=&quot;Ribbon.AppName.Spinner_CMD&quot;                   <br />                   TemplateAlias=&quot;o2&quot;<br />                   Sequence=&quot;10&quot;&gt;<br />                    &lt;Unit<br />                        Name=&quot;pixel&quot;<br />                        MinimumValue=&quot;1&quot;<br />                        MaximumValue=&quot;2000&quot;<br />                        DecimalDigits=&quot;0&quot;<br />                        Interval=&quot;5&quot;&gt;<br />                      &lt;UnitAbbreviation Value=&quot;px&quot; /&gt;<br />                    &lt;/Unit&gt;<br />                    &lt;Unit<br />                        Name=&quot;percent&quot;<br />                        MinimumValue=&quot;1&quot;<br />                        MaximumValue=&quot;100&quot;<br />                        DecimalDigits=&quot;0&quot;<br />                        Interval=&quot;1&quot;&gt;<br />                      &lt;UnitAbbreviation Value=&quot;%&quot; /&gt;<br />                    &lt;/Unit&gt;<br />                  &lt;/Spinner&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458442.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458442.aspx</a>
</p>
								<h4>1.1.1.10. SplitButton</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonSplitButton".</td>
			<td>AppName.SplitButton</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the button.</td>
			<td>SplitButton</td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>SplitButton</td>
		</tr>
				<tr>
			<td>tooltiptitle</td>
			<td>Optional. The text that appears as the title of the tooltip.</td>
			<td>Title</td>
		</tr>
				<tr>
			<td>tooltipdescription</td>
			<td>Optional. The text that appears in the body of the tooltip.</td>
			<td>Description</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;SplitButton<br />                    Id=&quot;Ribbon.AppName.SplitButton&quot;<br />                    Sequence=&quot;10&quot;<br />                    Alt=&quot;SplitButton&quot;<br />                    Command=&quot;Ribbon.AppName.SplitButton_CMD&quot;<br />                    CommandMenuOpen=&quot;Ribbon.AppName.SplitButton_MenuOpen_CMD&quot;<br />                    CommandMenuClose=&quot;Ribbon.AppName.SplitButton_MenuClose_CMD&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                    LabelText=&quot;SplitButton&quot;<br />                    MenuAlt=&quot;Ribbon.AppName.SplitButton_Menu_ALT&quot;<br />                    TemplateAlias=&quot;o1&quot;&gt;<br />                    &lt;Menu Id=&quot;Ribbon.AppName.SplitButton.Menu&quot;&gt;<br />                      &lt;MenuSection<br />                        Id=&quot;Ribbon.AppName.SplitButton.Menu.MenuSection&quot;<br />                        DisplayMode=&quot;Menu&quot;<br />                        Sequence=&quot;10&quot;&gt;<br />                        &lt;Controls Id=&quot;Ribbon.AppName.SplitButton.Menu.MenuSection.Controls&quot;&gt;<br />                          &lt;Button<br />                            Id=&quot;Ribbon.AppName.SplitButton.Menu.MenuSection.Button1&quot;<br />                            Sequence=&quot;10&quot;<br />                            Alt=&quot;Ribbon.AppName.SplitButton.Menu.MenuSection.Button1_ALT&quot;<br />                            Command=&quot;Ribbon.AppName.SplitButton.Menu.MenuSection.Button1_CMD&quot;<br />                            LabelText=&quot;SplitButton1&quot;/&gt;<br />                          &lt;Button<br />                            Id=&quot;Ribbon.AppName.SplitButton.Menu.MenuSection.Button2&quot;<br />                            Sequence=&quot;20&quot;<br />                            Alt=&quot;Ribbon.AppName.SplitButton.Menu.MenuSection.Button2_ALT&quot;<br />                            Command=&quot;Ribbon.AppName.SplitButton.Menu.MenuSection.Button2_CMD&quot;<br />                            LabelText=&quot;SplitButton2&quot;/&gt;<br />                        &lt;/Controls&gt;<br />                      &lt;/MenuSection&gt;<br />                    &lt;/Menu&gt;<br />                  &lt;/SplitButton&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="" target="_new"></a>
</p>
								<h4>1.1.1.11. Static ComboBox</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonStaticCombobBox".</td>
			<td>AppName.StaticComboBox</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the button.</td>
			<td>StaticComboBox</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;ComboBox<br />                    Id=&quot;Ribbon.AppName.StaticComboBox&quot;<br />                    Sequence=&quot;10&quot;<br />                    Alt=&quot;StaticComboBox&quot;<br />                    Command=&quot;Ribbon.AppName.StaticComboBox_CMD&quot;<br />                    CommandMenuOpen=&quot;Ribbon.AppName.StaticComboBox_Open_CMD&quot;<br />                    CommandMenuClose=&quot;Ribbon.AppName.StaticComboBox_MenuClose_CMD&quot;<br />                    CommandPreview=&quot;Ribbon.AppName.StaticComboBox_Preview_CMD&quot;<br />                    CommandPreviewRevert=&quot;Ribbon.AppName.StaticComboBox_PreviewRevert_CMD&quot;<br />                    InitialItem=&quot;StaticComboButton1&quot;<br />                    AllowFreeForm=&quot;false&quot;<br />                    PopulateDynamically=&quot;false&quot;<br />                    PopulateOnlyOnce=&quot;true&quot;<br />                    PopulateQueryCommand=&quot;Ribbon.AppName.StaticComboBox_PopQuery_CMD&quot;<br />                    Width=&quot;125px&quot;<br />                    TemplateAlias=&quot;o2&quot;&gt;                    <br />                    &lt;Menu Id=&quot;Ribbon.AppName.StaticComboBox.Menu&quot;&gt;<br />                      &lt;MenuSection<br />                        Id=&quot;Ribbon.AppName.StaticComboBox.Menu.MenuSection&quot;<br />                        Sequence=&quot;10&quot;&gt;<br />                        &lt;Controls Id=&quot;Ribbon.AppName.StaticComboBox.Menu.MenuSection.Controls&quot;&gt;<br />                          &lt;Button<br />                            Id=&quot;Ribbon.AppName.StaticComboBox.Menu.MenuSection.Button1&quot;<br />                            Sequence=&quot;10&quot;<br />                            Command=&quot;Ribbon.AppName.StaticComboBox.Menu.MenuSection.Button1_CMD&quot;<br />                            CommandType=&quot;OptionSelection&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                            LabelText=&quot;StaticComboButton1&quot;<br />                            MenuItemId=&quot;StaticComboButton1&quot;/&gt;<br />                          &lt;Button<br />                            Id=&quot;Ribbon.AppName.StaticComboBox.Menu.MenuSection.Button2&quot;<br />                            Sequence=&quot;20&quot;<br />                            Command=&quot;Ribbon.AppName.StaticComboBox.Menu.MenuSection.Button2_CMD&quot;<br />                            CommandType=&quot;OptionSelection&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                            LabelText=&quot;StaticComboButton2&quot;<br />                            MenuItemId=&quot;StaticComboButton2&quot;/&gt;<br />                        &lt;/Controls&gt;<br />                      &lt;/MenuSection&gt;<br />                    &lt;/Menu&gt;<br />                  &lt;/ComboBox&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458425.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458425.aspx</a>
</p>
								<h4>1.1.1.12. Static DropDown</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonStaticDropDown".</td>
			<td>AppName.StaticDropDown</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the button.</td>
			<td>StaticDropDown</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;DropDown<br />                    Id=&quot;Ribbon.AppName.StaticDropDown&quot;<br />                    Alt=&quot;StaticDropDown&quot;<br />                    Sequence=&quot;10&quot;<br />                    Command=&quot;Ribbon.AppName.StaticDropDown_CMD&quot;<br />                    CommandMenuOpen=&quot;Ribbon.AppName.StaticDropDown_MenuOpen_CMD&quot;<br />                    CommandMenuClose=&quot;Ribbon.AppName.StaticDropDown_MenuClose_CMD&quot;<br />                    PopulateDynamically=&quot;false&quot;<br />                    PopulateOnlyOnce=&quot;true&quot;<br />                    PopulateQueryCommand=&quot;Ribbon.AppName.StaticDropDown_PopulateQuery_CMD&quot;<br />                    InitialItem=&quot;StaticDropdownButton1&quot;<br />                    Width=&quot;125px&quot;<br />                    TemplateAlias=&quot;o2&quot;<br />                    ToolTipTitle=&quot;Static DropDown&quot;<br />                    ToolTipDescription=&quot;Static DropDown&quot;&gt;<br />                    &lt;Menu Id=&quot;Ribbon.AppName.StaticDropDown.Menu&quot;&gt;<br />                      &lt;MenuSection<br />                        Id=&quot;Ribbon.AppName.StaticDropDown.Menu.MenuSection&quot;<br />                        Sequence=&quot;10&quot;&gt;<br />                        &lt;Controls Id=&quot;Ribbon.AppName.StaticDropDown.Menu.MenuSection.Controls&quot;&gt;<br />                          &lt;Button<br />                            Id=&quot;Ribbon.AppName.StaticDropDown.Menu.MenuSection.Button1&quot;<br />                            Sequence=&quot;10&quot;<br />                            Command=&quot;Ribbon.AppName.StaticDropDown.Menu.MenuSection.Button1_CMD&quot;<br />                            CommandType=&quot;OptionSelection&quot;<br />                            Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                            LabelText=&quot;StaticDropdownButton1&quot;<br />                            MenuItemId=&quot;StaticDropdownButton1&quot;/&gt;<br />                          &lt;Button<br />                            Id=&quot;Ribbon.AppName.StaticDropDown.Menu.MenuSection.Button2&quot;<br />                            Sequence=&quot;20&quot;<br />                            Command=&quot;Ribbon.AppName.StaticDropDown.Menu.MenuSection.Button2_CMD&quot;<br />                            CommandType=&quot;OptionSelection&quot;<br />                            Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                            LabelText=&quot;StaticDropdownButton2&quot;<br />                            MenuItemId=&quot;StaticDropdownButton2&quot;/&gt;<br />                        &lt;/Controls&gt;<br />                      &lt;/MenuSection&gt;<br />                    &lt;/Menu&gt;<br />                  &lt;/DropDown&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458462.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458462.aspx</a>
</p>
								<h4>1.1.1.13. Table Flyout</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonTableFlyout".</td>
			<td>AppName.TableFlyout</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the control.</td>
			<td>TableFlyout</td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>TableFlyout</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre><br />        &lt;FlyoutAnchor<br />                Id=&quot;Ribbon.AppName.TableFlyout&quot;<br />                Sequence=&quot;10&quot;<br />                Alt=&quot;TableFlyout&quot;<br />                LabelText=&quot;TableFlyout&quot;<br />                Command=&quot;Ribbon.AppName.TableFlyout_CMD&quot;<br />                PopulateDynamically=&quot;false&quot;<br />                PopulateOnlyOnce=&quot;true&quot;<br />                PopulateQueryCommand=&quot;Ribbon.AppName.TableFlyout_Query_CMD&quot;<br />                TemplateAlias=&quot;o2&quot;<br />                Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />                ToolTipTitle=&quot;Table flyout&quot;<br />                ToolTipDescription=&quot;inserts a custom table&quot;&gt;<br />                &lt;Menu Id=&quot;Ribbon.AppName.TableFlyout.Menu&quot;&gt;<br />                  &lt;MenuSection<br />                    Id=&quot;Ribbon.AppName.TableFlyout.Menu.MenuSection&quot;<br />                    Title=&quot;Custom InsertTable&quot;&gt;<br />                    &lt;Controls Id=&quot;Ribbon.AppName.TableFlyout.Menu.MenuSection.Controls&quot;&gt;<br />                      &lt;InsertTable<br />                        Id=&quot;Ribbon.AppName.TableFlyout.Menu.MenuSection.InsertTable&quot;<br />                        Sequence=&quot;10&quot;<br />                        Alt=&quot;Insert a {0}x{1} Table&quot;<br />                        Command=&quot;Ribbon.AppName.TableFlyout.Menu.MenuSection.InsertTable_CMD&quot;<br />                        CommandPreview=&quot;Ribbon.AppName.TableFlyout.Menu.MenuSection.InsertTablePreview_CMD&quot;<br />                        CommandRevert=&quot;Ribbon.AppName.TableFlyout.Menu.MenuSection.InsertTablePreviewRevert_CMD&quot;<br />                        MenuSectionTitle=&quot;Custom Insert Table&quot;<br />                        MenuSectionInitialTitle=&quot;InsertTable&quot;/&gt;<br />                    &lt;/Controls&gt;<br />                  &lt;/MenuSection&gt;<br />                &lt;/Menu&gt;<br />              &lt;/FlyoutAnchor&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458372.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458372.aspx</a>
</p>
								<h4>1.1.1.14. TextBox</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonTextBox".</td>
			<td>AppName.TextBox</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;TextBox<br />                    Id=&quot;Ribbon.AppName.TextBox&quot;<br />                    Sequence=&quot;10&quot;<br />                    Command=&quot;Ribbon.AppName.TextBox_command&quot;<br />                    MaxLength=&quot;512&quot;<br />                    TemplateAlias=&quot;o2&quot;/&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458386.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458386.aspx</a>
</p>
								<h4>1.1.1.15. ToggleButton</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>id</td>
			<td>Required. A string that identifies the control, such as "Ribbon.Library.Share.NewRibbonToggleButton".</td>
			<td>AppName.ToggleButton</td>
		</tr>
				<tr>
			<td>alt</td>
			<td>Optional. Alternative text for the button.</td>
			<td>ToggleButton</td>
		</tr>
				<tr>
			<td>labeltext</td>
			<td>Optional. The text to label the control.</td>
			<td>ToggleButton</td>
		</tr>
				<tr>
			<td>tooltiptitle</td>
			<td>Optional. The text that appears as the title of the tooltip.</td>
			<td>Title</td>
		</tr>
				<tr>
			<td>tooltipdescription</td>
			<td>Optional. The text that appears in the body of the tooltip.</td>
			<td>Description</td>
		</tr>
				<tr>
			<td>sequence</td>
			<td>Optional. An integer that specifies the order of placement among sibling XML nodes.</td>
			<td>10</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;ToggleButton<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Id=&quot;Ribbon.AppName.ToggleButton&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Alt=&quot;ToggleButton&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Command=&quot;Ribbon.AppName.ToggleButton_command&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image16by16=&quot;/_layouts/1033/images/formatmap16x16.png&quot; Image16by16Top=&quot;-64&quot; Image16by16Left=&quot;-192&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Image32by32=&quot;/_layouts/1033/images/formatmap32x32.png&quot; Image32by32Top=&quot;0&quot; Image32by32Left=&quot;-384&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;LabelText=&quot;ToggleButton&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Sequence=&quot;10&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;TemplateAlias=&quot;o2&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;ToolTipTitle=&quot;Title&quot;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;ToolTipDescription=&quot;Description&quot;/&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ff458393.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ff458393.aspx</a>
</p>
							<h3>1.1.3. SharePoint 2007</h3>
							<h4>1.1.1.1. ContentType 2007</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>ID</td>
			<td>Required Text. Specifies the content type ID of the content type. A content type ID has a very specific format. If the value that you assign the ID attribute is not in the correct format, you will get an error when the Feature activates.</td>
			<td>0x01</td>
		</tr>
				<tr>
			<td>Name</td>
			<td>Required Text. Specifies the content type name. The value can be a reference to a resource in the format $Resources:String. For more information, see Localizing SharePoint Solutions.The name itself cannot be longer than 128 characters. An error occurs if another content type with the same name exists in the collection where the content type is added.</td>
			<td>ContentType1</td>
		</tr>
				<tr>
			<td>Description</td>
			<td>Optional Text. Provides a description for the content type, to display in the SharePoint Foundation user interface. The value can be a reference to a resource in the format $Resources:String.</td>
			<td></td>
		</tr>
				<tr>
			<td>FeatureId</td>
			<td>Optional Text. Provides the ID of the feature with which the content type is associated. The value should be the string representation of a GUID structure, including braces.</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
				<tr>
			<td>Group</td>
			<td>Optional Text. Specifies the content type group to which the content type is assigned. Content type groups are user-defined groups that help you organize content types into logical categories. The value can be a reference to a resource in the format $Resources:String.</td>
			<td></td>
		</tr>
				<tr>
			<td>Hidden</td>
			<td>Optional Boolean. TRUE to define the content type as hidden. If you define a content type as hidden, SharePoint Foundation does not display that content type on the New button in list views. If you do not include this attribute, SharePoint Foundation treats the content type as if the attribute was set to FALSE.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>ReadOnly</td>
			<td>Optional Boolean. TRUE to specify that the content type cannot be edited without explicitly removing the read-only setting. This can be done either in the user interface or in code.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>Sealed</td>
			<td>Optional Boolean. TRUE to prevent changes to this content type. You cannot change the value of this attribute through the user interface, but you can change it in code if you have sufficient rights. You must have site collection administrator rights to unseal a content type.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>V2ListTemplateName</td>
			<td>Optional Text. Specifies the Windows SharePoint Services 2.0 list template type to which this content type maps. For example, the Document content type maps to the Document Library list template.</td>
			<td></td>
		</tr>
				<tr>
			<td>Version</td>
			<td>Reserved for future use.</td>
			<td>0</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;ContentType          <br />          ID=&quot;0x01&quot;<br />          Name=&quot;ContentType1&quot;<br />          Description=&quot;&quot;<br />          FeatureId=&quot;00000000-0000-0000-0000-000000000000&quot;<br />          Group=&quot;&quot;<br />          Hidden=&quot;FALSE&quot;          <br />          ReadOnly=&quot;FALSE&quot;         <br />          ResourceFolder=&quot;$ResourceFolder$&quot;<br />          Sealed=&quot;FALSE&quot;<br />          V2ListTemplateName=&quot;&quot;<br />          Version=&quot;0&quot;<br />        /&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/aa544268%28office.12%29.aspx" target="_new">http://msdn.microsoft.com/en-us/library/aa544268%28office.12%29.aspx</a>
</p>
								<h4>1.1.1.2. Feature 2007</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>ActivateOnDefault</td>
			<td>Optional Boolean. TRUE if the Feature is activated by default during installation or when a Web application is created; FALSE if the Feature is not activated. This attribute equals TRUE by default. The ActivateOnDefault attribute does not apply to site collection (Site) or Web site (Web) scoped Features.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>AlwaysForceInstall</td>
			<td>Optional Boolean. TRUE if the Feature is installed by force during installation even if the Feature is already installed. For example, if set to TRUE, Feature installation callouts will always fire anytime a user tries to install the Feature (even if it is already installed) by using either the scanforfeatures or installfeature command-line operation. This attribute equals FALSE by default. The AlwaysForceInstall attribute affects Features of all scopes.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>AutoActivateInCentralAdmin</td>
			<td>Optional Boolean. TRUE if the Feature is activated by default in the Administrative Web site, site collection, or Web application. This attribute equals FALSE by default. The AutoActivateInCentralAdmin attribute does not apply to Farm-scoped Features.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>Creator</td>
			<td>Optional Text.</td>
			<td></td>
		</tr>
				<tr>
			<td>DefaultResourceFile</td>
			<td>Optional Text. Indicates a common resource file for retrieving Feature XML resources. If you do not specify a resource in the file, Windows SharePoint Services looks by default in \12\TEMPLATE\FEATURES\FeatureName\Resources\Resources.Culture.resx. However, if you want to provide a shared core resource file for all the Features in your application, you can specify an alternate file through which to access resources by using DefaultResourceFile. For example, if you set DefaultResourceFile=MyFile, Windows SharePoint Services looks in \12\Resources\MyFile.Culture.resx to retrieve localized resources for your Feature.</td>
			<td></td>
		</tr>
				<tr>
			<td>Description</td>
			<td>Optional String. Returns a longer representation of what the Feature does.</td>
			<td></td>
		</tr>
				<tr>
			<td>Hidden</td>
			<td>Optional Boolean. This attribute equals FALSE by default.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>Id</td>
			<td>Required Text. Contains the globally unique identifier (GUID) for the Feature.</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
				<tr>
			<td>ImageUrl</td>
			<td>Optional Text. Contains the site-relative URL for an image to use to represent the feature in the user interface (UI).</td>
			<td></td>
		</tr>
				<tr>
			<td>ImageUrlAltText</td>
			<td>Optional Text. Contains the alternate text for the image that represents the feature.</td>
			<td></td>
		</tr>
				<tr>
			<td>ReceiverAssembly</td>
			<td>Optional Text. If set along with ReceiverClass, specifies the strong name of the signed assembly located in the global assembly cache from which to load a receiver to handle Feature events.</td>
			<td></td>
		</tr>
				<tr>
			<td>ReceiverClass</td>
			<td>Optional Text. If set along with ReceiverAssembly, specifies the class that implements the Feature event processor.</td>
			<td></td>
		</tr>
				<tr>
			<td>RequireResources</td>
			<td>Optional Boolean. TRUE to specify that Windows SharePoint Services check whether resources exist for the Feature by verifying that the standard sentinel resource for the Feature is present for a particular culture.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>Scope</td>
			<td>Required Text. Specifies the scope in which the Feature can be activated and contains one of the following values: Farm (farm), WebApplication (Web application), Site (site collection), Web (Web site). For information about scope, see Element Scope.</td>
			<td>Site</td>
		</tr>
				<tr>
			<td>SolutionId</td>
			<td>Optional Text. Specifies the solution to which the Feature belongs.</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
				<tr>
			<td>Title</td>
			<td>Optional Text. Returns the title of the Feature. Limited to 255 characters.</td>
			<td>Title</td>
		</tr>
				<tr>
			<td>Version</td>
			<td>Optional Text. Specifies a System.Version-compliant representation of the version of a Feature. This can be up to four numbers delimited by decimals that represent a version.</td>
			<td>1.0.0.0</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;Feature<br />          Id=&quot;00000000-0000-0000-0000-000000000000&quot;<br />          Title=&quot;Title&quot;<br />          Description=&quot;&quot; <br />          Scope=&quot;Site&quot;<br />          Hidden=&quot;FALSE&quot;<br />          ActivateOnDefault=&quot;FALSE&quot;<br />          AlwaysForceInstall=&quot;FALSE&quot;<br />          AutoActivateInCentralAdmin=&quot;FALSE&quot;<br />          Creator=&quot;&quot;<br />          DefaultResourceFile=&quot;&quot; <br />          ImageUrl=&quot;&quot;<br />          ImageUrlAltText=&quot;&quot;<br />          ReceiverAssembly=&quot;&quot;<br />          ReceiverClass=&quot;&quot;<br />          RequireResources=&quot;FALSE&quot;  <br />          SolutionId=&quot;00000000-0000-0000-0000-000000000000&quot;            <br />          Version=&quot;1.0.0.0&quot; &gt;<br />          &lt;/Feature&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ms436075.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ms436075.aspx</a>
</p>
								<h4>1.1.1.3. Solution 2007</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>SolutionId</td>
			<td>Optional string. Contains the GUID for the solution.</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
				<tr>
			<td>DeploymentServerType</td>
			<td>Optional string. Determines whether the solution is deployed to a front-end Web server or to an application server. Possible values include: ApplicationServer, WebFrontEnd</td>
			<td>WebFrontEnd</td>
		</tr>
				<tr>
			<td>ResetWebServer</td>
			<td>Optional Boolean. TRUE to specify that the Web server will be reset.</td>
			<td>FALSE</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;Solution <br />          SolutionId=&quot;00000000-0000-0000-0000-000000000000&quot;           <br />          DeploymentServerType=&quot;WebFrontEnd&quot;<br />          ResetWebServer=&quot;FALSE&quot; <br />          xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&gt;<br />          &lt;/Solution&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ms412929.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ms412929.aspx</a>
</p>
							<h3>1.1.4. SharePoint 2010</h3>
							<h4>1.1.1.1. ContentType 2010</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>ID</td>
			<td>Required Text. Specifies the content type ID of the content type. A content type ID has a very specific format. If the value that you assign the ID attribute is not in the correct format, you will get an error when the Feature activates.</td>
			<td>0x01</td>
		</tr>
				<tr>
			<td>Name</td>
			<td>Required Text. Specifies the content type name. The value can be a reference to a resource in the format $Resources:String. For more information, see Localizing SharePoint Solutions.The name itself cannot be longer than 128 characters. An error occurs if another content type with the same name exists in the collection where the content type is added.</td>
			<td>ContentType1</td>
		</tr>
				<tr>
			<td>Description</td>
			<td>Optional Text. Provides a description for the content type, to display in the SharePoint Foundation user interface. The value can be a reference to a resource in the format $Resources:String.</td>
			<td></td>
		</tr>
				<tr>
			<td>FeatureId</td>
			<td>Optional Text. Provides the ID of the feature with which the content type is associated. The value should be the string representation of a GUID structure, including braces.</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
				<tr>
			<td>Group</td>
			<td>Optional Text. Specifies the content type group to which the content type is assigned. Content type groups are user-defined groups that help you organize content types into logical categories. The value can be a reference to a resource in the format $Resources:String.</td>
			<td></td>
		</tr>
				<tr>
			<td>Hidden</td>
			<td>Optional Boolean. TRUE to define the content type as hidden. If you define a content type as hidden, SharePoint Foundation does not display that content type on the New button in list views. If you do not include this attribute, SharePoint Foundation treats the content type as if the attribute was set to FALSE.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>NewDocumentControl</td>
			<td>Optional Text. The programmatic identifier for the preferred application to create a new document of this content type.</td>
			<td></td>
		</tr>
				<tr>
			<td>Overwrite</td>
			<td>Optional Boolean. TRUE to overwrite an existing content type with the same ID. The default is FALSE.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>ProgId</td>
			<td>Optional Text. The programmatic identifier for the preferred application to open a document of this content type. This attribute distinguishes between applications that save files with a specified file extension.</td>
			<td></td>
		</tr>
				<tr>
			<td>PushDownChangedResourceFilesOnly</td>
			<td>Optional Boolean. TRUE to copy only changed resource files to derived content types during a push down operation. The default is FALSE.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>ReadOnly</td>
			<td>Optional Boolean. TRUE to specify that the content type cannot be edited without explicitly removing the read-only setting. This can be done either in the user interface or in code.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>RequireClientRenderingOnNew</td>
			<td>Optional Text. The programmatic identifier for the preferred application to open a documentOptional Boolean. TRUE to require the browser to use the application specified by the ProgId attribute for creating a new item.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>Sealed</td>
			<td>Optional Boolean. TRUE to prevent changes to this content type. You cannot change the value of this attribute through the user interface, but you can change it in code if you have sufficient rights. You must have site collection administrator rights to unseal a content type.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>V2ListTemplateName</td>
			<td>Optional Text. Specifies the Windows SharePoint Services 2.0 list template type to which this content type maps. For example, the Document content type maps to the Document Library list template.</td>
			<td></td>
		</tr>
				<tr>
			<td>Version</td>
			<td>Reserved for future use.</td>
			<td>0</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;ContentType          <br />          ID=&quot;0x01&quot;<br />          Name=&quot;ContentType1&quot;<br />          Description=&quot;&quot;<br />          FeatureId=&quot;00000000-0000-0000-0000-000000000000&quot;<br />          Group=&quot;&quot;<br />          Hidden=&quot;FALSE&quot;         <br />          ProgId=&quot;&quot;<br />          NewDocumentControl=&quot;&quot;<br />          Overwrite=&quot;FALSE&quot;<br />          PushDownChangedResourceFilesOnly=&quot;FALSE&quot;<br />          ReadOnly=&quot;FALSE&quot;<br />          RequireClientRenderingOnNew=&quot;FALSE&quot;<br />          ResourceFolder=&quot;$ResourceFolder$&quot;<br />          Sealed=&quot;FALSE&quot;<br />          V2ListTemplateName=&quot;&quot;<br />          Version=&quot;0&quot;<br />        /&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/aa544268.aspx" target="_new">http://msdn.microsoft.com/en-us/library/aa544268.aspx</a>
</p>
								<h4>1.1.1.2. Feature 2010</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>ActivateOnDefault</td>
			<td>Optional Boolean. TRUE if the Feature is activated by default during installation or when a Web application is created; FALSE if the Feature is not activated. This attribute equals TRUE by default. The ActivateOnDefault attribute does not apply to site collection (Site) or Web site (Web) scoped Features.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>AlwaysForceInstall</td>
			<td>Optional Boolean. TRUE if the Feature is installed by force during installation even if the Feature is already installed. For example, if set to TRUE, Feature installation callouts will always fire anytime a user tries to install the Feature (even if it is already installed) by using either the scanforfeatures or installfeature command-line operation. This attribute equals FALSE by default. The AlwaysForceInstall attribute affects Features of all scopes.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>AutoActivateInCentralAdmin</td>
			<td>Optional Boolean. TRUE if the Feature is activated by default in the Administrative Web site, site collection, or Web application. This attribute equals FALSE by default. The AutoActivateInCentralAdmin attribute does not apply to Farm-scoped Features.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>Creator</td>
			<td>Optional Text.</td>
			<td></td>
		</tr>
				<tr>
			<td>DefaultResourceFile</td>
			<td>Optional Text. Indicates a common resource file for retrieving Feature XML resources. If you do not specify a resource in the file, Windows SharePoint Services looks by default in \12\TEMPLATE\FEATURES\FeatureName\Resources\Resources.Culture.resx. However, if you want to provide a shared core resource file for all the Features in your application, you can specify an alternate file through which to access resources by using DefaultResourceFile. For example, if you set DefaultResourceFile=MyFile, Windows SharePoint Services looks in \12\Resources\MyFile.Culture.resx to retrieve localized resources for your Feature.</td>
			<td></td>
		</tr>
				<tr>
			<td>Description</td>
			<td>Optional String. Returns a longer representation of what the Feature does.</td>
			<td></td>
		</tr>
				<tr>
			<td>Hidden</td>
			<td>Optional Boolean. This attribute equals FALSE by default.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>Id</td>
			<td>Required Text. Contains the globally unique identifier (GUID) for the Feature.</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
				<tr>
			<td>ImageUrl</td>
			<td>Optional Text. Contains the site-relative URL for an image to use to represent the feature in the user interface (UI).</td>
			<td></td>
		</tr>
				<tr>
			<td>ImageUrlAltText</td>
			<td>Optional Text. Contains the alternate text for the image that represents the feature.</td>
			<td></td>
		</tr>
				<tr>
			<td>ReceiverAssembly</td>
			<td>Optional Text. If set along with ReceiverClass, specifies the strong name of the signed assembly located in the global assembly cache from which to load a receiver to handle Feature events.</td>
			<td></td>
		</tr>
				<tr>
			<td>ReceiverClass</td>
			<td>Optional Text. If set along with ReceiverAssembly, specifies the class that implements the Feature event processor.</td>
			<td></td>
		</tr>
				<tr>
			<td>RequireResources</td>
			<td>Optional Boolean. TRUE to specify that Windows SharePoint Services check whether resources exist for the Feature by verifying that the standard sentinel resource for the Feature is present for a particular culture.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>Scope</td>
			<td>Required Text. Specifies the scope in which the Feature can be activated and contains one of the following values: Farm (farm), WebApplication (Web application), Site (site collection), Web (Web site). For information about scope, see Element Scope.</td>
			<td>Site</td>
		</tr>
				<tr>
			<td>SolutionId</td>
			<td>Optional Text. Specifies the solution to which the Feature belongs.</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
				<tr>
			<td>Title</td>
			<td>Optional Text. Returns the title of the Feature. Limited to 255 characters.</td>
			<td>Title</td>
		</tr>
				<tr>
			<td>Version</td>
			<td>Optional Text. Specifies a System.Version-compliant representation of the version of a Feature. This can be up to four numbers delimited by decimals that represent a version.</td>
			<td>1.0.0.0</td>
		</tr>
				<tr>
			<td>UIVersion</td>
			<td>Optional Text. Specifies the user interface (UI) version for this Feature. The accepted values are 3 for Windows SharePoint Services 3.0 and 4 for Microsoft SharePoint Foundation 2010.</td>
			<td>4</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;Feature<br />          Id=&quot;00000000-0000-0000-0000-000000000000&quot;<br />          Title=&quot;Title&quot;<br />          Description=&quot;&quot; <br />          Scope=&quot;Site&quot;<br />          Hidden=&quot;FALSE&quot;<br />          ActivateOnDefault=&quot;FALSE&quot;<br />          AlwaysForceInstall=&quot;FALSE&quot;<br />          AutoActivateInCentralAdmin=&quot;FALSE&quot;<br />          Creator=&quot;&quot;<br />          DefaultResourceFile=&quot;&quot; <br />          ImageUrl=&quot;&quot;<br />          ImageUrlAltText=&quot;&quot;<br />          ReceiverAssembly=&quot;&quot;<br />          ReceiverClass=&quot;&quot;<br />          RequireResources=&quot;FALSE&quot;  <br />          SolutionId=&quot;00000000-0000-0000-0000-000000000000&quot;  <br />          UIVersion=&quot;4&quot;<br />          Version=&quot;1.0.0.0&quot; &gt;<br />          &lt;/Feature&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ms436075.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ms436075.aspx</a>
</p>
								<h4>1.1.1.3. Solution 2010</h4>
					<DIV class="OH_CollapsibleAreaRegion">
		<DIV class="OH_regiontitle">Declarations</DIV>
		<DIV class="OH_RegionToggle"></DIV>
	</DIV>
	<DIV class="OH_clear"></DIV>
	<p>
	<table width="100%" id="argumentTable">
	<tr>
		<th>ID</th>
		<th>ToolTip</th>
		<th>Default</th>		
	</tr>
			<tr>
			<td>SolutionId</td>
			<td>Optional string. Contains the GUID for the solution.</td>
			<td>00000000-0000-0000-0000-000000000000</td>
		</tr>
				<tr>
			<td>Title</td>
			<td>Optional string. Specifies the title of the solution.</td>
			<td>Solution1</td>
		</tr>
				<tr>
			<td>Description</td>
			<td>Optional string. Specifies a description for the solution.</td>
			<td></td>
		</tr>
				<tr>
			<td>DeploymentServerType</td>
			<td>Optional string. Determines whether the solution is deployed to a front-end Web server or to an application server. Possible values include: ApplicationServer, WebFrontEnd</td>
			<td>WebFrontEnd</td>
		</tr>
				<tr>
			<td>ResetWebServer</td>
			<td>Optional Boolean. TRUE to specify that the Web server will be reset.</td>
			<td>FALSE</td>
		</tr>
				<tr>
			<td>ResetWebServerModeOnUpgrade</td>
			<td>Optional string. Specifies the type of reset the Web server will perform on solution upgrade. The values are as follows: Recycle = Recycles the application pool; StartStop = Stops and starts the server</td>
			<td>Recycle</td>
		</tr>
				<tr>
			<td>SharePointProductVersion</td>
			<td>Optional string. Specifies the version of Microsoft SharePoint Foundation.</td>
			<td>14</td>
		</tr>
		</table></p>
	<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Snippet Code</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p><pre>&lt;Solution <br />          SolutionId=&quot;00000000-0000-0000-0000-000000000000&quot; <br />          Title=&quot;Solution1&quot;<br />          Description=&quot;&quot; <br />          DeploymentServerType=&quot;WebFrontEnd&quot;<br />          ResetWebServer=&quot;FALSE&quot; <br />          ResetWebServerModeOnUpgrade=&quot;Recycle&quot; <br />          SharePointProductVersion=&quot;14&quot;&gt;<br />          &lt;/Solution&gt;</pre></p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">Author</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>Torsten Mandelkow</p>

<DIV class="OH_CollapsibleAreaRegion">
	<DIV class="OH_regiontitle">HelpUrl</DIV>
	<DIV class="OH_RegionToggle"></DIV>
</DIV>
<DIV class="OH_clear"></DIV>
<p>
  <a href="http://msdn.microsoft.com/en-us/library/ms412929%28office.12%29.aspx" target="_new">http://msdn.microsoft.com/en-us/library/ms412929%28office.12%29.aspx</a>
</p>
				</HTML>